Skip to content

Commit

Permalink
DX: keep running workflows on default branch (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer authored Jan 29, 2024
1 parent 24aac6e commit 083cbb3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CI

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: >-
${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
env:
PYTHONHASHSEED: "0"
Expand Down
3 changes: 2 additions & 1 deletion src/compwa_policy/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CI

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: >-
${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
env:
PYTHONHASHSEED: "0"
Expand Down
3 changes: 2 additions & 1 deletion src/compwa_policy/.github/workflows/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Requirements

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: >-
${{ github.ref != format('refs/heads/{0}', github.event.repository.default_branch) }}
on:
pull_request:
Expand Down

0 comments on commit 083cbb3

Please sign in to comment.