chore(main): [bot] release t8s-cluster:4.1.0 #2645
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: Add comment with diff for PR | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
paths: | |
- charts/** | |
branches-ignore: | |
- release-please--branches--main--components-** | |
jobs: | |
getChangedChart: | |
uses: ./.github/workflows/get-changed-chart.yaml | |
postDiffComment: | |
runs-on: ubuntu-22.04 | |
needs: getChangedChart | |
env: | |
CT_TARGET_BRANCH: ${{ github.event.repository.default_branch }} | |
GITHUB_TOKEN: ${{ secrets.ACTIONS_BOT_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip install yq | |
- name: Install sponge | |
run: sudo apt-get -yq install moreutils | |
- run: ./.github/scripts/prepare-values.sh "charts/${{ needs.getChangedChart.outputs.chart }}" | |
- run: ./.github/scripts/create-values-diff.sh ${{ github.event.number }} ${{ needs.getChangedChart.outputs.chart }} |