You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/07/31 23:57:43 UTC
(superset) branch master updated: fix(ci): release process for labeling PRs (#29688)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin 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 59e366ce90 fix(ci): release process for labeling PRs (#29688)
59e366ce90 is described below
commit 59e366ce90768239ac9466454b0fc44706be6e54
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Wed Jul 31 16:57:36 2024 -0700
fix(ci): release process for labeling PRs (#29688)
---
.github/workflows/tag-release.yml | 33 +++++++++++++++++++++++++++++----
1 file changed, 29 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/tag-release.yml b/.github/workflows/tag-release.yml
index 8ee03b3d04..52e8067aaf 100644
--- a/.github/workflows/tag-release.yml
+++ b/.github/workflows/tag-release.yml
@@ -54,10 +54,13 @@ jobs:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
- persist-credentials: false
- tags: true
fetch-depth: 0
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+
- name: Setup supersetbot
uses: ./.github/actions/setup-supersetbot/
@@ -94,16 +97,38 @@ jobs:
--platform "linux/arm64" \
--platform "linux/amd64"
- # Going back on original branch to allow "post" GHA operations
+ # Returning to master to support closing setup-supersetbot
+ git checkout master
+
+ update-prs-with-release-info:
+ needs: config
+ if: needs.config.outputs.has-secrets
+ runs-on: ubuntu-22.04
+ permissions:
+ contents: read
+ pull-requests: write
+ steps:
+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v4
with:
- persist-credentials: false
+ fetch-depth: 0
+
+ - name: Use Node.js 20
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+
+ - name: Setup supersetbot
+ uses: ./.github/actions/setup-supersetbot/
- name: Label the PRs with the right release-related labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
+ export GITHUB_ACTOR=""
+ git fetch --all --tags
+ git checkout master
RELEASE="${{ github.event.release.tag_name }}"
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
# in the case of a manually-triggered run, read release from input