-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from xunleii/chore/enhance-workflows
Update workflows generating documentation assets
- Loading branch information
Showing
3 changed files
with
23 additions
and
156 deletions.
There are no files selected for viewing
This file contains 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
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" |
This file contains 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
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 |
This file was deleted.
Oops, something went wrong.