Skip to content

Merge pull request #130 from xunleii/renovate/http-3.x-lockfile #7

Merge pull request #130 from xunleii/renovate/http-3.x-lockfile

Merge pull request #130 from xunleii/renovate/http-3.x-lockfile #7

name: Update documentation assets (master only)
on:
push:
branches: [master]
jobs:
generate-docs-assets:
name: Update documentation assets
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: heinrichreimer/github-changelog-generator-action@6f5b9494dd265d6fb7243a10c53dc0169c55f247 # renovate: tag=v2.3
with:
token: ${{ secrets.GITHUB_TOKEN }}
# NOTE: seems impossible to use terraform-docs/gh-actions with EndBug/add-and-commit... so
# we will do everything manually
- name: Generate README.md with terraform-docs
run: |
mkdir .terraform-docs
curl -L https://github.com/terraform-docs/terraform-docs/releases/download/v0.16.0/terraform-docs-v0.16.0-$(uname)-amd64.tar.gz | tar -xvzC .terraform-docs
chmod +x .terraform-docs/terraform-docs
.terraform-docs/terraform-docs .
- uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3
with:
default_author: github_actions
message: "Update documentation assets"