We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ca3e36 + cddc248 commit 6aeb53aCopy full SHA for 6aeb53a
.github/workflows/generate_tf_docs.yaml
@@ -14,15 +14,15 @@ jobs:
14
docs:
15
name: Generate Terraform Docs
16
runs-on: ubuntu-latest
17
-
18
steps:
19
- - name: Checkout base repo (safe)
+ - name: Checkout PR branch safely
20
uses: actions/checkout@v4
21
with:
22
- ref: ${{ github.event.pull_request.base.ref }}
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
+ ref: ${{ github.event.pull_request.head.ref }}
23
token: ${{ secrets.WRITE_PAT }}
24
25
- - name: Generate terraform docs (from base only)
+ - name: Generate terraform docs and push to PR branch
26
uses: terraform-docs/[email protected]
27
28
working-dir: .
0 commit comments