mirror of https://github.com/OWASP/Nettacker.git
Update CI/CD: run workflow just once for pull_request/push events
This commit is contained in:
parent
0126926472
commit
6bd1aaeef6
|
|
@ -5,6 +5,10 @@ on:
|
||||||
- push
|
- push
|
||||||
- workflow_dispatch
|
- workflow_dispatch
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
cancel-in-progress: true
|
||||||
|
group: ${{ github.repository }}-${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
name: Run pre-commit
|
name: Run pre-commit
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue