Skip to content

Commit

Permalink
Merge pull request #125 from xunleii/chore/enhance-workflows
Browse files Browse the repository at this point in the history
Update workflows generating documentation assets
  • Loading branch information
xunleii authored May 14, 2023
2 parents d5f3266 + 25cbade commit f9e74a2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 156 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/github.changelog.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
name: Generate & push changelog (master only)
name: Update documentation assets (master only)
on:
push:
branches: [master]

jobs:
generate-push-changelog:
name: Generate & push changelog
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 }}
- uses: terraform-docs/gh-actions@f6d59f89a280fa0a3febf55ef68f146784b20ba0 # v1.0.0
- uses: EndBug/add-and-commit@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081 # v9.1.3
with:
add: CHANGELOG.md
add: |
CHANGELOG.md
README.md
default_author: github_actions
message: "Commit last changes to CHANGELOG.md"
message: "Update documentation assets"
13 changes: 13 additions & 0 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
formatter: markdown table
output:
file: README.md
mode: inject
sections:
show:
- inputs
- outputs
- providers
- requirements
sort:
enabled: true
by: required
151 changes: 0 additions & 151 deletions .tfdocs-config.yml

This file was deleted.

0 comments on commit f9e74a2

Please sign in to comment.