mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat: label PR with release tags (#28107)
This commit is contained in:
committed by
GitHub
parent
4c1e2bcc7a
commit
947391778e
@@ -1,4 +1,4 @@
|
||||
name: Docker Publish Release
|
||||
name: Publish a Release
|
||||
|
||||
on:
|
||||
release:
|
||||
@@ -99,3 +99,14 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Label the PRs with the right release-related labels
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
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
|
||||
RELEASE="${{ github.event.inputs.release }}"
|
||||
fi
|
||||
supersetbot release-label $RELEASE
|
||||
Reference in New Issue
Block a user