Skip to content

Commit

Permalink
Reset peter-evans/create-pull-request@v6 author
Browse files Browse the repository at this point in the history
Commit 0918b9e updated to `peter-evans/create-pull-request@v6` and also
removed the `author` input. The v6 release changes the default values
for `author` and `committer`. The release notes say, "The default value
for `author` has been changed to `${{ github.actor }}`
`<${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>`."
`github.actor` is actually the user who triggered the workflow run, not
the bot opening the PR.

This commit will add the `author` input back and will update the author
to match the default GitHub Actions bot user account used as `committer`
`github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>`.

https://github.com/peter-evans/create-pull-request/releases/tag/v6.0.0
  • Loading branch information
br3ndonland committed Apr 9, 2024
1 parent b60a73d commit 845e8b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:
add-paths: |
CHANGELOG.md
docs/changelog.md
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: create-pull-request/${{ github.ref_name }}
commit-message: Update changelog for version ${{ github.ref_name }}
title: Update changelog for version ${{ github.ref_name }}

0 comments on commit 845e8b2

Please sign in to comment.