Skip to content

Commit

Permalink
add concurrency to build and test and codegen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Oct 21, 2024
1 parent 99848d9 commit 6ea3c9c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- release/**
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
diff_check:
uses: ./.github/workflows/skip-ci.yml
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- release/**
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
diff_check:
uses: ./.github/workflows/skip-ci.yml
Expand Down

0 comments on commit 6ea3c9c

Please sign in to comment.