Skip to content

Commit

Permalink
Add option to cancel prev runs
Browse files Browse the repository at this point in the history
Without using skip-duplicate-actions which is failing due to github access permission. 
See fkirc/skip-duplicate-actions#103
  • Loading branch information
jneira authored Oct 29, 2021
1 parent 939caa3 commit 5601f12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ defaults:
run:
shell: bash

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

on:
pull_request:
branches:
Expand Down

0 comments on commit 5601f12

Please sign in to comment.