diff options
-rw-r--r-- | .github/workflows/ci.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9c217501..8f8f97139 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,15 @@ -on: [push, pull_request] +on: [push, pull_request_target] name: CI jobs: + cancel: + runs-on: ubuntu-latest + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.5.0 + with: + access_token: ${{ github.token }} + build: strategy: matrix: |