Skip to content

Commit

Permalink
Add workflow concurrency controls
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Feb 4, 2025
1 parent ed51eb0 commit 35e28b0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and test main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and test PR

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types:
Expand Down

0 comments on commit 35e28b0

Please sign in to comment.