helm chart for hypershift #74
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: Bicep Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'dev-infrastructure/**' | |
jobs: | |
validate_bicep: | |
permissions: | |
contents: 'read' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 1 | |
- name: 'az bicep format and lint' | |
working-directory: './dev-infrastructure' | |
run: | | |
az bicep version | |
make fmt | |
make lint | |
- name: Check for uncommitted changes | |
working-directory: './dev-infrastructure' | |
run: | | |
git diff --exit-code || (echo "::error::Uncommitted changes detected in bicep templates" && exit 1) |