Merge pull request #2783 from Flow-Launcher/add_auto_assignee_action

Add auto assign PR assignee
This commit is contained in:
Jeremy Wu 2024-06-16 17:14:40 +10:00 committed by GitHub
commit b7c3e80e1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

19
.github/workflows/pr_assignee.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Assign PR to creator
# Due to GitHub token limitation, only able to assign org members not authors from forks.
# https://github.com/thomaseizinger/assign-pr-creator-action/issues/3
on:
pull_request:
types: [opened]
branches-ignore:
- l10n_dev
jobs:
automation:
runs-on: ubuntu-latest
steps:
- name: Assign PR to creator
uses: thomaseizinger/assign-pr-creator-action@v1.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}