Skip to content

Commit

Permalink
ci: cancel-in-progress when pr is updated
Browse files Browse the repository at this point in the history
backports import-js#2997
  • Loading branch information
SukkaW committed Sep 4, 2024
1 parent b068d54 commit efaf8a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
- push
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
ci:
name: Lint and Test with Node.js ${{ matrix.node }} and ESLint ${{ matrix.eslint }} on ${{ matrix.os }}
Expand Down

0 comments on commit efaf8a0

Please sign in to comment.