Skip to content

Commit

Permalink
Maintenance: Cancel in progress builds when new changes are triggered (
Browse files Browse the repository at this point in the history
  • Loading branch information
riggaroo authored May 11, 2022
1 parent 61414bd commit c38afb5
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/Crane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Crane.yaml'
- 'Crane/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Crane

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/JetNews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/JetNews.yaml'
- 'JetNews/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: JetNews

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Jetcaster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Jetcaster.yaml'
- 'Jetcaster/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Jetcaster

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Jetchat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Jetchat.yaml'
- 'Jetchat/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Jetchat

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Jetsnack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Jetsnack.yaml'
- 'Jetsnack/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Jetsnack

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Jetsurvey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Jetsurvey.yaml'
- 'Jetsurvey/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Jetsurvey

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/Owl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ on:
paths:
- '.github/workflows/Owl.yaml'
- 'Owl/**'

concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
env:
SAMPLE_PATH: Owl

Expand Down

0 comments on commit c38afb5

Please sign in to comment.