diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2e2328067..d25c145d6 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,5 +15,9 @@ jobs: with: go-version: '1.22' - run: go generate main.go + + - name: Stage new and modified files in docs folder + run: git add docs/ + - name: Check for file changes - run: git diff --exit-code + run: git diff --cached --exit-code