Skip to content

Commit

Permalink
auto cancel previous jobs when new commit is pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
CollieIsCute committed Feb 19, 2025
1 parent 13f5440 commit fe93b1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-distros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
branches: [ main ]
pull_request:

concurrency:
group: dotfiles-tests-${{ github.ref }}
cancel-in-progress: true

jobs:
dotfiles-test:
name: ${{ matrix.container }}-test
runs-on: ubuntu-latest
continue-on-error: ture
strategy:
matrix:
container: ["manjarolinux/base:latest", "archlinux/archlinux"]
Expand Down

0 comments on commit fe93b1d

Please sign in to comment.