Skip to content

Commit

Permalink
retry
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 4, 2024
1 parent c06cd3b commit f244dca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/controller-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 2
- name: Set up Go
uses: actions/[email protected]
with:
Expand All @@ -92,14 +94,15 @@ jobs:
run: go mod download
- name: Download tools
run: PATH=$PATH:$GOPATH/bin make --directory=.. tools
- name: Test
- name: Regenerate docs
run: PATH=$PATH:$GOPATH/bin make codegen-crd-docs
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v45
with:
files: go/controller/docs/**
since_last_remote_commit: true
- run: git diff --name-only HEAD^1 HEAD
- name: Fail if CRD docs are outdated
if: steps.changed-files-specific.outputs.any_changed == 'true'
env:
Expand Down

0 comments on commit f244dca

Please sign in to comment.