File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,9 @@ jobs:
137137 # Note: These next three have to be checked as strings ('true'/'false')!
138138 is_develop : ${{ github.ref == 'refs/heads/develop' }}
139139 is_release : ${{ startsWith(github.ref, 'refs/heads/release/') }}
140- is_gitflow_sync : |
141- github.event_name == 'pull_request' &&
142- (github.head_ref == 'refs/heads/develop' || github.head_ref == 'refs/heads/master') &&
143- contains(steps.pr-labels.outputs.labels, ' Dev: Gitflow ')
140+ is_gitflow_sync : ${{ github.head_ref == 'refs/heads/develop' || github.head_ref == 'refs/heads/master') }}
141+ has_gitflow_label :
142+ ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }}
144143 force_skip_cache :
145144 ${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') }}
146145
@@ -150,7 +149,7 @@ jobs:
150149 runs-on : ubuntu-20.04
151150 timeout-minutes : 15
152151 if : |
153- needs.job_get_metadata.outputs.is_gitflow_sync == 'false' &&
152+ ( needs.job_get_metadata.outputs.is_gitflow_sync == 'false' && needs.job_get_metadata.outputs.has_gitflow_label == 'true') &&
154153 (needs.job_get_metadata.outputs.changed_any_code == 'true' || github.event_name != 'pull_request')
155154 steps :
156155 - name : ' Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})'
You can’t perform that action at this time.
0 commit comments