cancel running tests if new commit to branch is made

Signed-off-by: Sebastian Gumprich <[email protected]>
This commit is contained in:
Sebastian Gumprich committed 2023-01-24 13:08:04 +01:00
1 parent 85271c2375
commit db4bd32767
6 files changed
+48

No files matched your search

+8
View File
@@ -14,6 +14,14 @@ on: # yamllint disable-line rule:truthy
- 'roles/ssh_hardening/**'
- 'molecule/ssh_hardening/**'
- '.github/workflows/ssh_hardening.yml'
concurrency:
group: >-
${{ github.workflow }}-${{
github.event.pull_request.number || github.sha
}}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-18.04