0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-11 16:25:02 +00:00

Use bot account for changelog generation (#68)

This commit is contained in:
Pavel Boldyrev 2022-05-11 23:03:53 -04:00 committed by GitHub
parent 768566cfe7
commit f81637c3f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,15 @@ jobs:
with:
token: ${{ secrets.BOT_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v2
with:
git_commit_gpgsign: true
git_user_signingkey: true
env:
GPG_PRIVATE_KEY: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.BOT_GPG_PASSPHRASE }}
- name: Generate changelog
uses: charmixer/auto-changelog-action@v1
with:
@ -34,3 +43,6 @@ jobs:
branch: main
file_pattern: CHANGELOG.md
push_options: --force
commit_author: ${{ steps.import_gpg.outputs.name }} <${{ steps.import_gpg.outputs.email }}>
commit_user_email: ${{ steps.import_gpg.outputs.email }}
commit_user_name: ${{ steps.import_gpg.outputs.name }}