Skip to content

Commit

Permalink
chore: Cancel prev CI actions that are still running on push (#14766)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jul 19, 2022
1 parent f2ba41b commit 486d27a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -5,6 +5,10 @@ on: [push, pull_request]
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
prepare-yarn-cache:
name: Prepare Cache
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests-breaking.yml
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e-publish:
name: Publish to local Verdaccio registry
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests-esm.yml
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e-publish:
name: Publish to local Verdaccio registry
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e-tests.yml
Expand Up @@ -7,6 +7,10 @@ on:
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
e2e-publish:
name: Publish to local Verdaccio registry
Expand Down

0 comments on commit 486d27a

Please sign in to comment.