Add required_status_checks and format to govuk-social-data #2422
This file contains hidden or 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: Generate terraform docs for our `terraform/shared-modules/` | |
| on: | |
| - pull_request | |
| jobs: | |
| docs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| - name: Render terraform docs inside the README.md and push changes back to PR branch | |
| uses: terraform-docs/gh-actions@6de6da0cefcc6b4b7a5cbea4d79d97060733093c # v1.4.1 | |
| with: | |
| args: "-c terraform/shared-modules/.terraform-docs.yaml" | |
| find-dir: terraform/shared-modules/ | |
| output-file: USAGE.md | |
| output-method: replace | |
| git-push: "true" |