You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2024/02/12 16:59:30 UTC
(superset) branch master updated: fix(ci): new PR comments cancel ongoing ephemeral builds (#27085)
This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 16e49cb2f7 fix(ci): new PR comments cancel ongoing ephemeral builds (#27085)
16e49cb2f7 is described below
commit 16e49cb2f75921d0ae4b356ff5c83855ec6c2874
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Mon Feb 12 16:59:24 2024 +0000
fix(ci): new PR comments cancel ongoing ephemeral builds (#27085)
---
.github/workflows/ephemeral-env.yml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/ephemeral-env.yml b/.github/workflows/ephemeral-env.yml
index 8f804f741c..a48f8eb6aa 100644
--- a/.github/workflows/ephemeral-env.yml
+++ b/.github/workflows/ephemeral-env.yml
@@ -4,11 +4,6 @@ on:
issue_comment:
types: [created]
-# cancel previous workflow jobs for PRs
-concurrency:
- group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }}
- cancel-in-progress: true
-
jobs:
config:
runs-on: "ubuntu-latest"
@@ -25,6 +20,9 @@ jobs:
fi
ephemeral-env-comment:
+ concurrency:
+ group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }}-comment
+ cancel-in-progress: true
needs: config
if: needs.config.outputs.has-secrets
name: Evaluate ephemeral env comment trigger (/testenv)
@@ -85,6 +83,9 @@ jobs:
core.setFailed(errMsg)
ephemeral-docker-build:
+ concurrency:
+ group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }}-build
+ cancel-in-progress: true
needs: ephemeral-env-comment
name: ephemeral-docker-build
runs-on: ubuntu-latest