Feature/improve vm ids and ip logic #102
Workflow file for this run
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 | |
| on: | |
| pull_request_target: | |
| branches: [main] | |
| types: [opened, synchronize, reopened, edited] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| statuses: write | |
| jobs: | |
| docs: | |
| name: Generate Terraform Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR branch safely | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| token: ${{ secrets.WRITE_PAT }} | |
| - name: Generate terraform docs and push to PR branch | |
| uses: terraform-docs/[email protected] | |
| with: | |
| working-dir: . | |
| output-file: README.md | |
| output-method: replace | |
| git-push: "true" |