fix: delete graphs before deleting org #625
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 CI | |
on: | |
pull_request: | |
paths: | |
- "helm/**/*" | |
- ".github/workflows/helm-ci.yaml" | |
concurrency: | |
group: ${{github.workflow}}-${{github.head_ref}} | |
cancel-in-progress: true | |
env: | |
CI: true | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
# The go install / version instructions are inside the Makefile, so we need to cache the Makefile. | |
key: ${{ runner.os }}-go-${{ hashFiles('router/go.sum') }}-makefile-${{ hashFiles('Makefile') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- uses: ./.github/actions/go | |
- name: Install tools | |
run: go install github.com/norwoodj/helm-docs/cmd/[email protected] | |
- name: Generate Helm docs | |
run: make docs | |
working-directory: ./helm | |
- name: Check if git is not dirty after generating files | |
if: (github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--')) || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--')) | |
run: git diff --no-ext-diff --exit-code ./helm |