Skip to content

Merge branch 'main' of github.com:gauravnegi01/testing-github-token #4

Merge branch 'main' of github.com:gauravnegi01/testing-github-token

Merge branch 'main' of github.com:gauravnegi01/testing-github-token #4

Workflow file for this run

name: Generate terraform docs
on: [ push ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Render terraform docs and push changes back to main
uses: terraform-docs/gh-actions@main
with:
working-dir: .
output-file: README.md
output-method: inject
git-push: "true"
git-commit-message: "Auto generate Terraform docs commit"
env:
GITHUB_TOKEN: ${{ github.token }}