Skip to content

Commit

Permalink
Github actions - cancel previous runs on commit (#1675)
Browse files Browse the repository at this point in the history
  • Loading branch information
kladkogex authored Sep 27, 2023
1 parent 99d7035 commit 63d599a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ on:
defaults:
run:
shell: bash
jobs:
jobs:
cancel-runs:
name: Cancel Previous Runs
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
build:
runs-on: self-hosted
env:
Expand Down

0 comments on commit 63d599a

Please sign in to comment.