Skip to content

Commit

Permalink
update concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Jan 17, 2024
1 parent 355273b commit 7074e01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-cmake-targets.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: "Build and test all cmake targets"
on:
pull_request:
push:
branches:
- "*"
workflow_dispatch:

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

jobs:
non-executable-workflow:
strategy:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-simulators.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: "Build Simulators"
on:
pull_request:
push:
branches:
- "*"
Expand All @@ -12,7 +11,7 @@ defaults:
working-directory: ot3-firmware

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 7074e01

Please sign in to comment.