Skip to content

Default the PR title and description to the commit's #4111

@Goooler

Description

@Goooler
- uses: peter-evans/create-pull-request@v7
  with:
    commit-message: |
      Update AGP sources to the latest

      _Auto-generated by `dump-sources` Github workflow._
    title: Update AGP sources to the latest
    body: _Auto-generated by `dump-sources` Github workflow._
    branch: actions/dump-sources
    author: 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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions