chore(ckan/dependencies): pin ghcr.io/teutonet/oci-images/ckan docker tag to 615da29 #6450
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 Chart Pull Request | |
on: | |
pull_request_target: | |
paths: | |
- charts/** | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
jobs: | |
getChangedCharts: | |
uses: ./.github/workflows/get-changed-charts.yaml | |
with: | |
pr_number: ${{ github.event.pull_request.number }} | |
labelPullRequest: | |
name: Label PR | |
runs-on: ubuntu-latest | |
needs: getChangedCharts | |
steps: | |
- env: | |
GITHUB_TOKEN: ${{ github.token }} | |
ISSUE_NUMBER: ${{ github.event.number }} | |
CHANGED_CHARTS: ${{ needs.getChangedCharts.outputs.charts }} | |
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_CHARTS}"'}' |