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.
1 parent 4c2c99d commit a2f0572Copy full SHA for a2f0572
.github/workflows/documentation.yaml
@@ -1,19 +1,26 @@
1
name: Generate terraform docs
2
+permissions: read-all
3
+
4
on:
5
- pull_request
-
6
7
jobs:
8
docs:
9
+ permissions:
10
+ actions: write
11
+ contents: write
12
+ pull-requests: write
13
+ issues: write
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v3
17
with:
18
ref: ${{ github.event.pull_request.head.ref }}
19
- - name: Render terraform docs inside the README.md and push changes back to PR branch
- uses: terraform-docs/gh-actions@v1.0.0
20
+ - name: Generates terraform docs and push changes back to PR
21
+ uses: terraform-docs/gh-actions@main
22
23
working-dir: .
24
output-file: README.md
25
output-method: inject
- git-push: "true"
26
+ git-push: "true"
0 commit comments