Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 976 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 976 Bytes

Auto Assign Assignees From Team

Assign any amount of members from a given GitHub Team as Assignees to a PR.
Members are chosen randomly.

Example Usage

name: "Assign Assignees"
on:
  pull_request:
    types: [opened, ready_for_review]

jobs:
  assign-assignees:
    runs-on: ubuntu-latest
    steps:
      - name: "Assign assignees from team"
        uses: dc-ag/[email protected]
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          read-token: ${{ secrets.GITHUB_READ_TOKEN }} # Read only token which needs access to fetch team members
          team: "team" # the team name
          amount: 0 # amount of assignees to assign from the given team, 0 to assign all. If the amount exceeds the member count of the team all members will be added

Build

npm run build && npm run package