diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index bb1f373..cc9d884 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -77,6 +77,17 @@ jobs: semantic-release --debug ${{ inputs.dry_run && '--dry-run' || '' }} env: GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }} + # Attribute the release commit to the technical app so it shows the + # app's own avatar. The email is +[bot]@... (the id + # is the bot USER id, not the app id). A bare "+slug[bot]@..." matches + # no account and falls back to a generic identicon. + # To use the github-actions octocat instead, set both to: + # github-actions[bot] / github-actions[bot]@users.noreply.github.com + # To get the user id - gh api /users/ptah-bw-technical-app%5Bbot%5D | jq .id + GIT_AUTHOR_NAME: "ptah-bw-technical-app[bot]" + GIT_AUTHOR_EMAIL: "184816428+ptah-bw-technical-app[bot]@users.noreply.github.com" + GIT_COMMITTER_NAME: "ptah-bw-technical-app[bot]" + GIT_COMMITTER_EMAIL: "184816428+ptah-bw-technical-app[bot]@users.noreply.github.com" - name: process release output id: process-release-output run: |