Skip to content

Commit

Permalink
Cancel running workflows for the PR except the latest one (#52)
Browse files Browse the repository at this point in the history
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
  • Loading branch information
kiranparajuli589 committed Feb 21, 2022
1 parent b7e4973 commit 6d06270
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
nextcloudVersion: [ v23.0.0, master ]
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
with:
all_but_latest: true
access_token: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout
uses: actions/checkout@v2

Expand Down

0 comments on commit 6d06270

Please sign in to comment.