diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3e4a619..750519b2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: steps: - name: Cancel previous runs uses: styfle/cancel-workflow-action@0.9.1 - if: github.event_type == 'pull_request' + if: github.event_name == 'pull_request' - name: Checkout source uses: actions/checkout@v2 @@ -77,7 +77,7 @@ jobs: steps: - name: Cancel previous runs uses: styfle/cancel-workflow-action@0.9.1 - if: github.event_type == 'pull_request' + if: github.event_name == 'pull_request' - name: Checkout source uses: actions/checkout@v2 diff --git a/.github/workflows/fuzz.yaml b/.github/workflows/fuzz.yaml index 3bfd66f9..a32c9348 100644 --- a/.github/workflows/fuzz.yaml +++ b/.github/workflows/fuzz.yaml @@ -17,7 +17,7 @@ jobs: steps: - name: Cancel previous runs uses: styfle/cancel-workflow-action@0.9.1 - if: github.event_type == 'pull_request' + if: github.event_name == 'pull_request' - name: Checkout source uses: actions/checkout@v2