Skip to content

✨ PR Assignment - Automatically assign pull requests to the content author #2406

@KostaMadorsky

Description

@KostaMadorsky

Requested by: @KostaMadorsky via YakShaver.ai 🦬
cc: @KostaMadorsky, @Marxoz, @PothieuG, @Freego1783

Hi Team!

  🟥  Watch the video (2 min 46 sec)

  Url from screen share: https://github.com/SSWConsulting/SSW.Rules.Content/pulls?q=is%3Aopen

Pain

When a pull request is created via the TinaCMS editor in Rules V3 (TinaCMS), it is authored by the TinaCloud bot, making it difficult for users to find their own pull requests using GitHub filters. Since TinaCMS already knows the actual content author (via co-authoring settings), the system should automatically assign the pull request to that user so they can easily filter and manage their PRs.

Acceptance Criteria

  1. Given a user makes a change via the TinaCMS editor with co-authoring enabled, when a pull request is created, then the pull request is automatically assigned to that user.
  2. The pull request author remains the TinaCloud bot, but the assignee is set to the actual content author.
  3. Users can filter pull requests in GitHub by assignee and see all PRs they created via TinaCMS.
  4. The assignment happens automatically without requiring any manual action from the user.
  5. Existing functionality for commits showing the correct author remains unchanged.

Screenshot

Screenshot
Figure: Pull requests created by a bot are not filterable by author; assigning the creator enables filtering.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions