diff --git a/.github/workflows/generate_changelog.yml b/.github/workflows/generate_changelog.yml index 430413f9..a84b4bad 100644 --- a/.github/workflows/generate_changelog.yml +++ b/.github/workflows/generate_changelog.yml @@ -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 }} \ No newline at end of file