Skip to content

Commit

Permalink
Add concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 30, 2024
1 parent bb6a35a commit 93166a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- "**"

concurrency:
group: ${{ github.event_name == 'pull_request' && format('{0}-{1}', github.workflow_ref, github.event.pull_request.number) || github.run_id }}
cancel-in-progress: true

permissions:
id-token: write
contents: read
Expand Down

0 comments on commit 93166a0

Please sign in to comment.