add auto assign PR assignee

This commit is contained in:
Jeremy 2024-06-16 16:19:40 +10:00
parent ea65c8fcbb
commit b543853f1a

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 authos 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 }}