Skip to content

fix: concurrency fixes for release-drafter and deploy-site workflows #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 4, 2025
Merged
Show file tree
Hide file tree
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
6 changes: 2 additions & 4 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ permissions:
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
group: "pages-deployment"
cancel-in-progress: true # Only latest deployment runs

# Default to bash
defaults:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
# our release branch
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the release-drafter workflow? If "no", please proof the the release notes included in the Cloud releases and the Kanvas releases are sourced elsewhere,

branches:
- master
paths-ignore:
- '.github/**'
- 'archive/**'
concurrency:
group: "release-drafter-workflow"
cancel-in-progress: true # Only latest draft creation runs

jobs:
update_release_draft:
Expand All @@ -15,4 +21,4 @@ jobs:
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}