Skip to content

ci: add concurrency to build workflow#639

Merged
mttrbrts merged 2 commits intoaccordproject:mainfrom
Shubh-Raj:feat/workflow-concurrency
Mar 7, 2026
Merged

ci: add concurrency to build workflow#639
mttrbrts merged 2 commits intoaccordproject:mainfrom
Shubh-Raj:feat/workflow-concurrency

Conversation

@Shubh-Raj
Copy link
Copy Markdown
Contributor

Closes #638

Changes

  • Added concurrency configuration to .github/workflows/build.yml.
  • Configured the concurrency group to be ${{ github.workflow }}-${{ github.ref }}.
  • Set cancel-in-progress to true to cancel outdated builds on the same branch.

Flags

  • This change will automatically cancel running build workflows if a new commit is pushed to the same branch while a build is in progress.
  • This is intended to save CI resources.

Related Issues

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests (N/A - CI configuration)
  • Commits messages follow AP format
  • Extend the documentation, if necessary (N/A)
  • Merging to main from feat/workflow-concurrency

Ensures that previous builds are cancelled when new commits are pushed to the PR.

Signed-off-by: Shubh-Raj <shubhraj625@gmail.com>
@mttrbrts mttrbrts enabled auto-merge (squash) March 7, 2026 20:45
@mttrbrts mttrbrts merged commit bfe8769 into accordproject:main Mar 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Workflow Concurrency to Save CI Resources

2 participants