Skip to content

Add script to generate diffs between a cluster and the local branch #5

Add script to generate diffs between a cluster and the local branch

Add script to generate diffs between a cluster and the local branch #5

Workflow file for this run

name: Diff
on:
pull_request: {}
jobs:
render-diff:
runs-on: ubuntu-latest
steps:
- uses: explorium-ai/wait-github-status-action@v1.0.2
with:
name: publish-branch-images
token: ${{ secrets.GITHUB_TOKEN }}
sha: ${{ github.event.pull_request.head.sha }} # Must
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Trigger diff on internal gitalb
run: |
curl -X POST \
--fail \
-F token=${{ secrets.GITLAB_CI_TOKEN }} \
-F ref=add/pipeline \
-F "variables[BRANCH]=${{ steps.extract_branch.outputs.branch }}" \
https://git.vshn.net/api/v4/projects/58084/trigger/pipeline