diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 567a0a2..d9d5420 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -8,6 +8,8 @@ jobs: permissions: contents: write steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.12.1 - uses: actions/checkout@v3 with: repository: ${{ github.event.pull_request.head.repo.full_name }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d1b3f0d..10905f9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -5,6 +5,8 @@ jobs: name: Test runs-on: ubuntu-latest steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.12.1 - uses: actions/checkout@v3 with: repository: ${{ github.event.pull_request.head.repo.full_name }}