This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch fix/ci-ephemeral-use-labels
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/fix/ci-ephemeral-use-labels by
this push:
new 7aa134d00e fix 2
7aa134d00e is described below
commit 7aa134d00ecbafcf01455ca2df7e22a988055f8d
Author: Daniel Gaspar <[email protected]>
AuthorDate: Tue Jan 28 11:48:30 2025 +0000
fix 2
---
.github/workflows/ephemeral-env.yml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ephemeral-env.yml
b/.github/workflows/ephemeral-env.yml
index 8c86614f53..cf9e6f141d 100644
--- a/.github/workflows/ephemeral-env.yml
+++ b/.github/workflows/ephemeral-env.yml
@@ -91,7 +91,10 @@ jobs:
id: eval-feature-flags
with:
script: |
- const description = context.payload.pull_request.body || '';
+ const description = context.payload.pull_request
+ ? context.payload.pull_request.body || ''
+ : context.payload.inputs.pr_description || '';
+
const pattern = /FEATURE_(\w+)=(\w+)/g;
let results = [];
[...description.matchAll(pattern)].forEach(match => {
@@ -101,6 +104,7 @@ jobs:
};
results.push(config);
});
+
return results;
- name: Reply with confirmation comment