Skip to content

feat(upgrade): add author and committer input parameters - #299

Open
byashimov wants to merge 1 commit into
trunk-io:mainfrom
byashimov:feat/upgrade-author-committer-inputs
Open

byashimov wants to merge 1 commit into
trunk-io:mainfrom
byashimov:feat/upgrade-author-committer-inputs

Conversation

@byashimov

Copy link
Copy Markdown

The upgrade action creates its pull request through create-pull-request without passing an author, so the commit falls back to that action's default of github.actor. On a schedule GitHub resolves github.actor to a fixed user who has nothing to do with the upgrade, and a squash merge then copies that user into a Co-authored-by: trailer, crediting them for every weekly upgrade.

Expose author and committer as passthrough inputs so the commit can be attributed to the bot that opens the pull request. Both defaults are the create-pull-request defaults, so existing behaviour is unchanged.

The upgrade action creates its pull request through create-pull-request
without passing an author, so the commit falls back to that action's
default of `github.actor`. On a schedule GitHub resolves `github.actor`
to a fixed user who has nothing to do with the upgrade, and a squash
merge then copies that user into a `Co-authored-by:` trailer, crediting
them for every weekly upgrade.

Expose `author` and `committer` as passthrough inputs so the commit can
be attributed to the bot that opens the pull request. Both defaults are
the create-pull-request defaults, so existing behaviour is unchanged.
@byashimov
byashimov force-pushed the feat/upgrade-author-committer-inputs branch from e0507a9 to a33bc5e Compare August 17, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant