Assign pull request author automatically
We've been doing manually for too long ;). The reason why we're assigning the author is it makes it easy to filter pull requests by assignee on our kanban; it isn't so easy (actually, might be impossible) to filter by author.
This commit is contained in:
16
.github/workflows/auto-author-assign.yml
vendored
Normal file
16
.github/workflows/auto-author-assign.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Assignment management
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types: [opened, reopened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
assign-author:
|
||||||
|
name: Auto-assign pull request author
|
||||||
|
if: github.repository_owner == 'consul'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: toshimaru/auto-author-assign@v1.4.0
|
||||||
Reference in New Issue
Block a user