Skip to content

Commit

Permalink
Cancel previous jobs on new pull request events
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Pavlov <[email protected]>
  • Loading branch information
Kshatrix committed May 23, 2024
1 parent 1614849 commit 6a55e92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ updates:
ignore:
- dependency-name: k8s.io/apimachinery
- dependency-name: k8s.io/client-go
- dependency-name: k8s.io/controller-runtime
- dependency-name: sigs.k8s.io/controller-runtime
- package-ecosystem: github-actions
directory: "/"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and Test

concurrency:
group: test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

on:
push:
branches:
Expand Down

0 comments on commit 6a55e92

Please sign in to comment.