Add support for logical backup #15
Workflow file for this run
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: Helm Diff | |
"on": | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
paths: | |
- 'argocd-helm-charts/**/*' | |
jobs: | |
helm-actions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Helm | |
run: | | |
curl -LO https://get.helm.sh/helm-v3.9.1-linux-amd64.tar.gz | |
tar -zxvf helm-v3.9.1-linux-amd64.tar.gz | |
mv linux-amd64/helm /usr/local/bin/helm | |
- name: Check Helm Version | |
run: helm version | |
- name: Run helm-diff.sh | |
if: ${{ github.event_name == 'pull_request' && !startsWith(github.event.pull_request.title, ':no-diff') }} | |
run: | | |
export CI_MERGE_REQUEST_TARGET_BRANCH_NAME=${{ github.base_ref }} | |
export CI_MERGE_REQUEST_SOURCE_BRANCH_NAME=${{ github.head_ref }} | |
chmod +x ./bin/helm-diff.sh | |
./bin/helm-diff.sh |