chore(deps): bump github.com/hashicorp/terraform-plugin-go from 0.19.0 to 0.19.1 #21
Workflow file for this run
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
name: Generate CHANGELOG | |
on: | |
pull_request: | |
types: [closed] | |
workflow_dispatch: | |
jobs: | |
GenerateChangelog: | |
if: github.event.pull_request.merged || github.event_name == 'workflow_dispatch' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.5.4 | |
with: | |
fetch-depth: 0 | |
submodules: true | |
token: ${{ secrets.CHANGELOG_PAT }} | |
- uses: actions/[email protected] | |
with: | |
go-version-file: '.ci/tools/go.mod' | |
- run: go generate -tags tools .ci/tools/tools.go | |
- run: ./.ci/scripts/generate-changelog.sh | |
- run: | | |
if [[ `git status --porcelain` ]]; then | |
if ${{github.event_name == 'workflow_dispatch'}}; then | |
MSG="chore: update CHANGELOG.md (Manual Trigger)" | |
else | |
MSG="chore: update CHANGELOG.md for #${{ github.event.pull_request.number }}" | |
fi | |
git config --local user.email [email protected] | |
git config --local user.name changelogbot | |
git add CHANGELOG.md | |
git commit -m "$MSG" | |
git push | |
fi |