Skip to content

chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 #195

chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1

chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 #195

Workflow file for this run

name: chart-diff
on:
pull_request:
branches:
- main
permissions:
contents: read
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
KUBEBUILDER_VERSION: v4.14.0
jobs:
chart-diff:
name: Chart Diff
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Set up Helm
uses: azure/setup-helm@1a275c3b69536ee54be43f2070a358922e12c8d4 # pin v4.3
with:
version: v3.20.0
- name: Checkout Repository
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
path: current-repo
- name: Read GitOps Promoter Version
working-directory: current-repo
id: get-promoter-version
run: |
echo "version=$(cat gitops_promoter_version)" >> $GITHUB_OUTPUT
- name: Checkout gitops-promoter at latest release
uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
with:
repository: argoproj-labs/gitops-promoter
ref: v${{ steps.get-promoter-version.outputs.version }}
path: gitops-promoter
- name: Chart diff (hack)
env:
KUBEBUILDER_VERSION: ${{ env.KUBEBUILDER_VERSION }}
run: |
bash "${GITHUB_WORKSPACE}/current-repo/hack/chart-diff.sh" \
--helm-repo "${GITHUB_WORKSPACE}/current-repo" \
--gitops-promoter-repo "${GITHUB_WORKSPACE}/gitops-promoter" \
--write-diff /tmp/chart-diff.diff
- name: Upload diff artifact
if: always()
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: chart-diff
path: /tmp/chart-diff.diff
if-no-files-found: ignore