Skip to content

chore(t8s-cluster/dependencies): update registry.k8s.io/etcd docker tag to v3.5.11 #328

chore(t8s-cluster/dependencies): update registry.k8s.io/etcd docker tag to v3.5.11

chore(t8s-cluster/dependencies): update registry.k8s.io/etcd docker tag to v3.5.11 #328

name: Label Chart Pull Request
on:
pull_request:
paths:
- charts/**
types:
- opened
- edited
- reopened
- synchronize
jobs:
getChangedChart:
uses: ./.github/workflows/get-changed-chart.yaml
labelPullRequest:
name: Validate and label PR
runs-on: ubuntu-latest
needs: getChangedChart
steps:
- env:
PR_TITLE: ${{ github.event.pull_request.title }}
GITHUB_TOKEN: ${{ github.token }}
ISSUE_NUMBER: ${{ github.event.number }}
CHANGED_CHART: ${{ needs.getChangedChart.outputs.chart }}
run: |
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/${ISSUE_NUMBER}/labels" \
-d '{"labels":["'"$CHANGED_CHART"'"]}'