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
|
- cron: "0 0 * * 0" # Weekly on Sunday at midnight
|
||||||
workflow_dispatch: # Allow manual triggering
|
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:
|
jobs:
|
||||||
update-dependencies:
|
update-dependencies:
|
||||||
name: Rebuild with Latest 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
|
- cron: "0 0 * * 0" # Run weekly on Sundays at midnight
|
||||||
workflow_dispatch: # Allow manual triggers
|
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:
|
jobs:
|
||||||
scan:
|
scan:
|
||||||
name: Security Scan
|
name: Security Scan
|
||||||
|
|
|
||||||
5
.github/workflows/elixir.yaml
vendored
5
.github/workflows/elixir.yaml
vendored
|
|
@ -10,6 +10,11 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"] # adapt branch for project
|
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
|
# Sets the ENV `MIX_ENV` to `test` for running tests
|
||||||
env:
|
env:
|
||||||
MIX_ENV: test
|
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:
|
schedule:
|
||||||
- cron: "0 0 * * 0" # Weekly at midnight on Sunday
|
- 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:
|
jobs:
|
||||||
horusec-security:
|
horusec-security:
|
||||||
name: Horusec Security Scan
|
name: Horusec Security Scan
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue