You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default the PR title and description to the commit's #4111
- uses: peter-evans/create-pull-request@v7with:
commit-message: | Update AGP sources to the latest _Auto-generated by `dump-sources` Github workflow._title: Update AGP sources to the latestbody: _Auto-generated by `dump-sources` Github workflow._branch: actions/dump-sourcesauthor: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> # Same as `committer`.delete-branch: true
Now I use this action like the snippet above, duplicate title and body to the commit's, can we default them like the GitHub web did? (For a single commit PR, the PR's title and description should be the commit's.)
Activity
peter-evans commentedon Aug 6, 2025
Hi @Goooler
You're right, this is how GitHub works. I'll have a think if it makes sense to make this change in a future major version.
I've made changes to these defaults in the past, too. So I'll have to check history and consider the best course of action.
Goooler commentedon Aug 6, 2025
Thanks!
Malix-Labs commentedon Jun 15, 2026
I think relying on GitHub's default would be an improvement indeed
Goooler commentedon Aug 28, 2026
Patched this in my fork, see Goooler@aecdddb. I'd happy to send a PR if you want.
Malix-Labs commentedon Aug 29, 2026
@Goooler please open the PR with
CLOSES: #4111in its bodyGoooler commentedon Aug 29, 2026
I'm not an expert for ts, so I'd wait for Peter's decision. But you can workaround this by using the sample above.