mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-09 18:17:57 +00:00
chore(ci): add proper concurrency groups for master and release CI.
Renamed `dev.yaml` to `master.yaml`. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
parent
b138e4c9e1
commit
6bf6a34a59
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
||||||
# NOTE: this will cancel every workflow that is being ran as group is just the github ref (without the workflow name)
|
# NOTE: this will cancel every workflow that is being ran against a PR as group is just the github ref (without the workflow name)
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.head_ref || github.run_id }}
|
group: ${{ github.head_ref || github.run_id }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
name: Dev Packages
|
name: Dev Packages and Docker images
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
workflow_dispatch:
|
|
||||||
|
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
||||||
|
concurrency:
|
||||||
|
group: ci-master
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-dev-packages:
|
build-dev-packages:
|
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
@ -1,9 +1,14 @@
|
|||||||
name: Release Packages
|
name: Release Packages and Docker images
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+.[0-9]+.[0-9]+'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
|
||||||
|
# Checks if any concurrent jobs under the same pull request or branch are being executed
|
||||||
|
concurrency:
|
||||||
|
group: ci-release
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-packages:
|
build-packages:
|
||||||
uses: falcosecurity/falco/.github/workflows/reusable_build_packages.yaml@main
|
uses: falcosecurity/falco/.github/workflows/reusable_build_packages.yaml@main
|
||||||
|
Loading…
Reference in New Issue
Block a user