File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,6 @@ jobs:
132132
133133 build :
134134 if : github.event.repository.fork == false # Skip running the job on the fork itself (It still runs on PRs on the upstream from forks)
135- concurrency :
136- group : ${{ github.workflow }}-${{ github.event.pull_request.head.ref || github.ref }}
137- cancel-in-progress : ${{ startsWith(github.event_name, 'pull_request') }}
138135 runs-on : ubuntu-latest
139136 permissions :
140137 contents : read
@@ -340,6 +337,11 @@ jobs:
340337 log_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`,
341338 })
342339 comment :
340+ if : >
341+ startsWith(github.event_name, 'pull_request')
342+ && inputs.disable-comments != 'true'
343+ && needs.build.outputs.deployment_result
344+ && needs.check.outputs.all_changed_files
343345 runs-on : ubuntu-latest
344346 needs :
345347 - check
@@ -352,11 +354,6 @@ jobs:
352354 steps :
353355 - name : Comment on PR
354356 continue-on-error : true
355- if : >
356- startsWith(github.event_name, 'pull_request')
357- && inputs.disable-comments != 'true'
358- && needs.build.outputs.deployment_result
359- && needs.check.outputs.all_changed_files
360357 uses : actions/github-script@v7
361358 env :
362359 ALL_CHANGED_FILES : ${{ needs.check.outputs.all_changed_files }}
You can’t perform that action at this time.
0 commit comments