Skip to content

Commit

Permalink
ci: concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 23, 2023
1 parent a215ff5 commit 423e05d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ updates:
schedule:
interval: "monthly"
# Labels on pull requests for version updates only
labels:
- "CI / tests"
labels: ["CI / tests"]
pull-request-branch-name:
# Separate sections of the branch name with a hyphen for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1`
separator: "-"
Expand All @@ -27,8 +26,7 @@ updates:
schedule:
interval: "monthly"
# Labels on pull requests for version updates only
labels:
- "CI / tests"
labels: ["CI / tests"]
pull-request-branch-name:
# Separate sections of the branch name with a hyphen for example, `dependabot-npm_and_yarn-next_js-acorn-6.4.1`
separator: "-"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_pkg-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on: # Trigger the workflow on push or pull request, but only for the main branc
branches: [main]
pull_request: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

defaults:
run:
shell: bash
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on: # Trigger the workflow on push or pull request, but only for the main branc
branches: [main]
pull_request: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

defaults:
run:
shell: bash
Expand Down

0 comments on commit 423e05d

Please sign in to comment.