Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
branches:
- main

concurrency:
group: release-${{ github.ref_name }}
cancel-in-progress: false

permissions: {}

env:
Expand Down Expand Up @@ -77,6 +73,10 @@ jobs:
contents: read
needs: check
if: needs.check.outputs.workflow == 'pull-request'
# Shares one group with `release`: both push the release branch.
concurrency:
group: release-branch-${{ github.ref_name }}
cancel-in-progress: false
steps:
# Use a GitHub App installation token (not GITHUB_TOKEN) so the push to the
# release branch triggers downstream `pull_request` events on the release PR.
Expand Down Expand Up @@ -147,6 +147,10 @@ jobs:
id-token: write
needs: check
if: needs.check.outputs.workflow == 'release'
# Shares one group with `pull-request`: both push the release branch.
concurrency:
group: release-branch-${{ github.ref_name }}
cancel-in-progress: false
steps:
- name: Generate token
id: generate_token
Expand Down