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:
Javi Martín
2022-07-07 12:39:10 +02:00
parent b86c4ec100
commit 4c25b20891

View 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