ensure previous ci runs get stopped on new runs
This commit is contained in:
parent
5347c7afec
commit
221f7faaa9
4 changed files with 20 additions and 0 deletions
5
.github/workflows/dependency-updates.yml
vendored
5
.github/workflows/dependency-updates.yml
vendored
|
|
@ -5,6 +5,11 @@ on:
|
|||
- cron: "0 0 * * 0" # Weekly on Sunday at midnight
|
||||
workflow_dispatch: # Allow manual triggering
|
||||
|
||||
# Cancel in-progress runs when a new workflow with the same group is triggered
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
update-dependencies:
|
||||
name: Rebuild with Latest Dependencies
|
||||
|
|
|
|||
5
.github/workflows/docker-security-scan.yml
vendored
5
.github/workflows/docker-security-scan.yml
vendored
|
|
@ -19,6 +19,11 @@ on:
|
|||
- cron: "0 0 * * 0" # Run weekly on Sundays at midnight
|
||||
workflow_dispatch: # Allow manual triggers
|
||||
|
||||
# Cancel in-progress runs when a new workflow with the same group is triggered
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
name: Security Scan
|
||||
|
|
|
|||
5
.github/workflows/elixir.yaml
vendored
5
.github/workflows/elixir.yaml
vendored
|
|
@ -10,6 +10,11 @@ on:
|
|||
pull_request:
|
||||
branches: ["main"] # adapt branch for project
|
||||
|
||||
# Cancel in-progress runs when a new workflow with the same group is triggered
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
# Sets the ENV `MIX_ENV` to `test` for running tests
|
||||
env:
|
||||
MIX_ENV: test
|
||||
|
|
|
|||
5
.github/workflows/horusec-security-scan.yml
vendored
5
.github/workflows/horusec-security-scan.yml
vendored
|
|
@ -8,6 +8,11 @@ on:
|
|||
schedule:
|
||||
- cron: "0 0 * * 0" # Weekly at midnight on Sunday
|
||||
|
||||
# Cancel in-progress runs when a new workflow with the same group is triggered
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
horusec-security:
|
||||
name: Horusec Security Scan
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue