Auto assign all team members to a PR
Name | Description | Example |
---|---|---|
token |
Required A repo scoped personal access token. ${{ secrets.GH_TOKEN }} |
|
org |
GitHub org | |
production-teams |
Slugs of active production teams, separated by comma | backend |
- Create a file
pull-request.yml
in.github/workflows/
directory with the following content:
name: pull-request
on:
pull_request:
types: [opened, reopened]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: LeavittSoftware/auto-pr-assign@master
with:
token: ${{ secrets.GH_TOKEN }}
org: myOrg
production-teams: "TeamA,TeamB"