Update boskos to v20251218-e3340a3, prow to v20251223-f0341d7b5 and ghproxy as needed #14
Workflow file for this run
This file contains hidden or 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: Argo CD Diff Preview | |
| on: | |
| pull_request: | |
| paths: | |
| - 'kubernetes/**' # All Kubernetes manifests owned by ArgoCD live here | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| path: pull-request | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| path: main | |
| - name: Generate Diff | |
| run: | | |
| docker run \ | |
| --network=host \ | |
| -v /var/run/docker.sock:/var/run/docker.sock \ | |
| -v $(pwd)/main:/base-branch \ | |
| -v $(pwd)/pull-request:/target-branch \ | |
| -v $(pwd)/output:/output \ | |
| -e TARGET_BRANCH=refs/pull/${{ github.event.number }}/merge \ | |
| -e REPO=${{ github.repository }} \ | |
| dagandersen/argocd-diff-preview:v0.1.19 | |
| - name: Post diff as comment | |
| env: | |
| GH_TOKEN: ${{ secrets.K8S_INFRA_CI_BOT_PR_TOKEN }} | |
| run: | | |
| gh pr comment ${{ github.event.number }} --repo ${{ github.repository }} --body-file output/diff.md --edit-last || \ | |
| gh pr comment ${{ github.event.number }} --repo ${{ github.repository }} --body-file output/diff.md |