chore(t8s-cluster/dependencies): update docker.io/bitnami/kubectl docker tag to v1.28.4 #457
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label release PR | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
labelling: | |
if: ${{ startsWith(github.event.pull_request.head.ref, 'release-please--') }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: remove old label | |
run: | | |
set -x | |
curl --silent --fail-with-body \ | |
-X DELETE \ | |
-H 'Accept: application/vnd.github+json' \ | |
-H 'Authorization: token ${{ github.token }}' \ | |
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.number }}/labels/autorelease:%20pending" | |
- name: add new label | |
if: ${{ github.event.pull_request.merged == true }} | |
run: | | |
set -x | |
curl --silent --fail-with-body \ | |
-X POST \ | |
-H 'Accept: application/vnd.github+json' \ | |
-H 'Authorization: token ${{ github.token }}' \ | |
"${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.number }}/labels" \ | |
-d '{"labels":["autorelease: tagged"]}' |