Skip to content

Commit

Permalink
feat(workflows): auto-assign PR author (#1388)
Browse files Browse the repository at this point in the history
Motivation
----------
I've heard today that we want to assign each PR to its respective
author, so the name appears in the PR list on the right side:
https://github.com/dreammall-earth/dreammall.earth/pulls

I keep forgetting this, so I'd say let's drop the requirement or
automate this.

Feel free to reject this PR in case we drop the requirement.

How to test
-----------
1. Merge this into `master`
2. See if new PRs get auto-assigned
  • Loading branch information
roschaefer authored Jul 10, 2024
1 parent 948c214 commit aa0f69e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addAssignees: author
7 changes: 7 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ permissions:
statuses: write

jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
with:
configuration-path: '.github/auto-assign.yml'

main:
name: Validate PR title
runs-on: ubuntu-latest
Expand Down

0 comments on commit aa0f69e

Please sign in to comment.