Skip to content

Commit faf494b

Browse files
authored
Restrict the list version workflow to be executed only in the main repository (#9168)
* build: Restrict the Snapshot Daily Release Automation action to be triggered only in the official repository * Restrict the list version workflow to be executed only in the main repository * Restrict the list version workflow to be executed only in the main repository
1 parent 0176ef4 commit faf494b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/snapshot-automation.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ jobs:
117117
path: rocketmq-docker/image-build-ci/versionlist/*
118118

119119
list-version:
120-
if: always()
120+
if: >
121+
github.repository == 'apache/rocketmq' &&
122+
always()
121123
name: List version
122124
needs: [ docker-build ]
123125
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)