mirror of https://github.com/Icinga/icinga2.git
Cancel previous HEAD's jobs only for PRs
This commit is contained in:
parent
1076bd1a06
commit
7673892a9d
|
@ -16,6 +16,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Cancel previous jobs for the same PR
|
||||
if: "github.event_name == 'pull_request'"
|
||||
uses: styfle/cancel-workflow-action@89f242ee29e10c53a841bfe71cc0ce7b2f065abc
|
||||
with:
|
||||
workflow_id: docker.yml,packages.yml
|
||||
|
|
|
@ -38,6 +38,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Cancel previous jobs for the same PR
|
||||
if: "github.event_name == 'pull_request'"
|
||||
uses: styfle/cancel-workflow-action@89f242ee29e10c53a841bfe71cc0ce7b2f065abc
|
||||
with:
|
||||
workflow_id: docker.yml,packages.yml
|
||||
|
@ -148,6 +149,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Cancel previous jobs for the same PR
|
||||
if: "github.event_name == 'pull_request'"
|
||||
uses: styfle/cancel-workflow-action@89f242ee29e10c53a841bfe71cc0ce7b2f065abc
|
||||
with:
|
||||
workflow_id: docker.yml,packages.yml
|
||||
|
@ -240,6 +242,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Cancel previous jobs for the same PR
|
||||
if: "github.event_name == 'pull_request'"
|
||||
uses: styfle/cancel-workflow-action@89f242ee29e10c53a841bfe71cc0ce7b2f065abc
|
||||
with:
|
||||
workflow_id: docker.yml,packages.yml
|
||||
|
|
Loading…
Reference in New Issue