Skip to content

Commit

Permalink
Update cancel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh authored Mar 11, 2022
1 parent e4567a4 commit 9a36641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cancel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Cancel Previous Jobs

on:
workflow_call:

jobs:
cancel:
name: run
Expand All @@ -13,4 +13,4 @@ jobs:
with:
all_but_latest: true
access_token: ${{ github.token }}
if: ${{ github.ref != 'master' }}
if: ${{ github.ref != 'refs/heads/master' }}

0 comments on commit 9a36641

Please sign in to comment.