Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 755 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 755 Bytes

Auto Assign Action

An action which adds reviewers to the pull request when the pull request is opened.

▶️ Usage

Create a workflow (e.g. .github/workflows/action.yml For more detail, refer to Configuring a workflow) for running the auto-assign action.

name: auto-assign
on:
  pull_request:
    types: [opened, ready_for_review]

jobs:
  add-reviewser:
    runs-on: ubuntu-latest
    steps:
      - uses: chronograph-pe/auto-assign-action@master
        with:
          github_token: ${{ secrets.ACTIONS_TOKEN }} # Must include pull_request:write and members:read permissions
          teams: team1,team2,team3

📝 Licence

MIT