Skip to content

fix disallow-privilege-escalation policy #75

fix disallow-privilege-escalation policy

fix disallow-privilege-escalation policy #75

Workflow file for this run

name: Verify codegen
permissions: {}
on:
pull_request:
branches:
- main
- release-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
verify-e2e-workflow:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: .hack/chainsaw-matrix/go.mod
cache-dependency-path: .hack/chainsaw-matrix/go.sum
- name: Generate workflow
run: |
set -e
(cd .hack/chainsaw-matrix && go run . > ../../.github/workflows/test.yml)
- name: Check diff
run: |
set -e
git --no-pager diff .
git diff --quiet --exit-code .