Skip to content

chore(base-cluster/dependencies): update docker.io/grafana/grafana-image-renderer docker tag to v3.12.9 #12674

chore(base-cluster/dependencies): update docker.io/grafana/grafana-image-renderer docker tag to v3.12.9

chore(base-cluster/dependencies): update docker.io/grafana/grafana-image-renderer docker tag to v3.12.9 #12674

name: Label Chart Pull Request
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
on:
pull_request_target:
paths:
- charts/**
types:
- opened
- edited
- reopened
- synchronize
jobs:
getChangedCharts:
uses: ./.github/workflows/get-changed-charts.yaml
permissions:
pull-requests: read
with:
pr_number: ${{ github.event.pull_request.number }}
labelPullRequest:
name: Label PR
runs-on: ubuntu-latest
permissions:
pull-requests: write
needs: getChangedCharts
steps:
- env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }}
ISSUE_NUMBER: ${{ github.event.number }}
CHANGED_CHARTS: ${{ needs.getChangedCharts.outputs.charts }}
run: |
[[ "$RUNNER_DEBUG" == 1 ]] && 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/${ISSUE_NUMBER}/labels" \
-d '{"labels":'"${CHANGED_CHARTS}"'}'