Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/kics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ on:
- debug
pull_request:
merge_group:
schedule:
- cron: '15 6 * * 4'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
security_scan:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: true
type: string

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ on:
- 'molecule/plugins/**'
- '.github/workflows/test_plugins.yml'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
sanity_core_2_18_2_19:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_role_beats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
- '.github/workflows/test_role_beats.yml'
- 'molecule/beats_**'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_beats:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_role_elasticsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
- '.github/workflows/test_role_elasticsearch.yml'
- 'molecule/elasticsearch_**'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_elasticsearch:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_role_kibana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
- '.github/workflows/test_role_kibana.yml'
- 'molecule/kibana_**'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_kibana:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_role_logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
- '.github/workflows/test_role_logstash.yml'
- 'molecule/logstash_**'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_logstash:
if: github.event.pull_request.draft == false
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_role_repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ on:
- '.github/workflows/test_role_repos.yml'
- 'molecule/repos_**'

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_repos:
if: github.event.pull_request.draft == false
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test_roles_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ on:
- '.github/workflows/test_roles_pr.yml'
merge_group:

# Cancel outdated pipeline runs when a new push occurs in the pull request and a new pipeline starts.
# The merge queue is not affected because each merge attempt uses a new temporary branch with a unique name,
# so github.ref is different each time.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint_collection:
if: github.event.pull_request.draft == false
Expand Down
Loading