File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737# Cancels all previous workflow runs for pull requests that have not completed.
3838concurrency :
39- # The concurrency group contains the workflow name and the branch name for pull requests
39+ # The concurrency group contains the workflow name and the pull request number for pull requests
4040 # or the commit hash for any other events.
41- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
41+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4242 cancel-in-progress : true
4343
4444# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3434
3535# Cancels all previous workflow runs for pull requests that have not completed.
3636concurrency :
37- # The concurrency group contains the workflow name and the branch name for pull requests
37+ # The concurrency group contains the workflow name and the pull request number for pull requests
3838 # or the commit hash for any other events.
39- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
39+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4040 cancel-in-progress : true
4141
4242# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3737
3838# Cancels all previous workflow runs for pull requests that have not completed.
3939concurrency :
40- # The concurrency group contains the workflow name and the branch name for pull requests
40+ # The concurrency group contains the workflow name and the pull request number for pull requests
4141 # or the commit hash for any other events.
42- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
42+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4343 cancel-in-progress : true
4444
4545# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3737
3838# Cancels all previous workflow runs for pull requests that have not completed.
3939concurrency :
40- # The concurrency group contains the workflow name and the branch name for pull requests
40+ # The concurrency group contains the workflow name and the pull request number for pull requests
4141 # or the commit hash for any other events.
42- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
42+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4343 cancel-in-progress : true
4444
4545# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3030
3131# Cancels all previous workflow runs for pull requests that have not completed.
3232concurrency :
33- # The concurrency group contains the workflow name and the branch name for pull requests
33+ # The concurrency group contains the workflow name and the pull request number for pull requests
3434 # or the commit hash for any other events.
35- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
35+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3636 cancel-in-progress : true
3737
3838# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 6060
6161# Cancels all previous workflow runs for pull requests that have not completed.
6262concurrency :
63- # The concurrency group contains the workflow name and the branch name for pull requests
63+ # The concurrency group contains the workflow name and the pull request number for pull requests
6464 # or the commit hash for any other events.
65- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
65+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
6666 cancel-in-progress : true
6767
6868# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 3838
3939# Cancels all previous workflow runs for pull requests that have not completed.
4040concurrency :
41- # The concurrency group contains the workflow name and the branch name for pull requests
41+ # The concurrency group contains the workflow name and the pull request number for pull requests
4242 # or the commit hash for any other events.
43- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
43+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
4444 cancel-in-progress : true
4545
4646# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2626
2727# Cancels all previous workflow runs for pull requests that have not completed.
2828concurrency :
29- # The concurrency group contains the workflow name and the branch name for pull requests
29+ # The concurrency group contains the workflow name and the pull request number for pull requests
3030 # or the commit hash for any other events.
31- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
31+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3232 cancel-in-progress : true
3333
3434# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 2626
2727# Cancels all previous workflow runs for pull requests that have not completed.
2828concurrency :
29- # The concurrency group contains the workflow name and the branch name for pull requests
29+ # The concurrency group contains the workflow name and the pull request number for pull requests
3030 # or the commit hash for any other events.
31- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
31+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
3232 cancel-in-progress : true
3333
3434# Disable permissions for all available scopes by default.
Original file line number Diff line number Diff line change 6060
6161# Cancels all previous workflow runs for pull requests that have not completed.
6262concurrency :
63- # The concurrency group contains the workflow name and the branch name for pull requests
63+ # The concurrency group contains the workflow name and the pull request number for pull requests
6464 # or the commit hash for any other events.
65- group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
65+ group : ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.sha }}
6666 cancel-in-progress : true
6767
6868# Disable permissions for all available scopes by default.
You can’t perform that action at this time.
0 commit comments