You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2021/04/19 12:34:43 UTC
[ozone] branch master updated: HDDS-5026. Cancel failing PR
workflow runs (#2129)
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git
The following commit(s) were added to refs/heads/master by this push:
new 724d96c HDDS-5026. Cancel failing PR workflow runs (#2129)
724d96c is described below
commit 724d96c4c0848c1bc478d377a239dac679cb080e
Author: Doroszlai, Attila <64...@users.noreply.github.com>
AuthorDate: Mon Apr 19 14:34:24 2021 +0200
HDDS-5026. Cancel failing PR workflow runs (#2129)
---
.github/workflows/cancel-ci.yaml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/cancel-ci.yaml b/.github/workflows/cancel-ci.yaml
index a5aaea3..c538cc6 100644
--- a/.github/workflows/cancel-ci.yaml
+++ b/.github/workflows/cancel-ci.yaml
@@ -30,5 +30,12 @@ jobs:
cancelFutureDuplicates: true
token: ${{ secrets.GITHUB_TOKEN }}
sourceRunId: ${{ github.event.workflow_run.id }}
- notifyPRCancel: true
skipEventTypes: '["push", "schedule"]'
+ - uses: potiuk/cancel-workflow-runs@a81b3c4d59c61e27484cfacdc13897dd908419c9
+ name: "Cancel failing PR builds"
+ with:
+ cancelMode: failedJobs
+ token: ${{ secrets.GITHUB_TOKEN }}
+ skipEventTypes: '["push", "schedule"]'
+ jobNameRegexps: '["^.*$"]'
+ workflowFileName: post-commit.yml
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org