From 9a366415ba9ebb02c3ad013fb07449385d0765b4 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Thu, 10 Mar 2022 16:40:08 -0800 Subject: [PATCH] Update cancel.yml --- .github/workflows/cancel.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml index d983fae731..d631689d33 100644 --- a/.github/workflows/cancel.yml +++ b/.github/workflows/cancel.yml @@ -2,7 +2,7 @@ name: Cancel Previous Jobs on: workflow_call: - + jobs: cancel: name: run @@ -13,4 +13,4 @@ jobs: with: all_but_latest: true access_token: ${{ github.token }} - if: ${{ github.ref != 'master' }} + if: ${{ github.ref != 'refs/heads/master' }}