Skip to content

Commit

Permalink
fix concurrency checks
Browse files Browse the repository at this point in the history
  • Loading branch information
duttonw committed Mar 17, 2022
1 parent 00360ce commit b395142
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/compile.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ on:
push:
pull_request:

concurrency:
group: compile-${{ github.workflow }}-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
cancel-in-progress: true

jobs:
validate:
concurrency: compile-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.

runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/storybook-deploy.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ on:
branches: [main, develop]
types: [completed ]

concurrency:
group: deploy-${{ github.workflow }}-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
cancel-in-progress: true

jobs:
deploy:
concurrency: deploy-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.

runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit b395142

Please sign in to comment.