Skip to content

Merge pull request #6 from blackbird-cloud/bb-repo-manager-updates #7

Merge pull request #6 from blackbird-cloud/bb-repo-manager-updates

Merge pull request #6 from blackbird-cloud/bb-repo-manager-updates #7

Workflow file for this run

name: Generate Readme
on:
push:
branches:
- main
workflow_dispatch:
jobs:
generate-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.BB_REPO_MANAGER_APP_ID }}
private-key: ${{ secrets.BB_REPO_MANAGER_SECRET }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Render terraform docs and push changes back to PR
uses: terraform-docs/gh-actions@main
with:
working-dir: .
config-file: .config/.terraform-docs.yml
git-push: "true"
output-method: replace