mirror of https://github.com/apache/superset.git
feat: label PR with release tags (#28107)
This commit is contained in:
parent
4c1e2bcc7a
commit
947391778e
|
@ -1,4 +1,4 @@
|
||||||
name: Docker Publish Release
|
name: Publish a Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
|
@ -99,3 +99,14 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
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
|
Loading…
Reference in New Issue