Skip to content

Commit

Permalink
Cancel concurrent workflows on same branch/pr (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Jul 19, 2024
1 parent e308b57 commit 8e8efb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
pull_request:
workflow_dispatch:

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

jobs:
build-firmware:
name: Build Firmware
Expand Down

0 comments on commit 8e8efb8

Please sign in to comment.