Skip to content

Commit

Permalink
Don't allow concurrent workflows to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jan 2, 2025
1 parent 4332cb5 commit d9e6fd1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build - macOS
on: [workflow_dispatch, push, pull_request]
env:
TERM: xterm-256color
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build - Ubuntu
on: [workflow_dispatch, push, pull_request]
env:
TERM: xterm-256color
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/win32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build - Windows
on: [workflow_dispatch, push, pull_request]
env:
TERM: xterm-256color
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/winrt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build - Windows Store
on: [workflow_dispatch, push, pull_request]
env:
TERM: xterm-256color
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
Expand Down

0 comments on commit d9e6fd1

Please sign in to comment.