Skip to content

Auto assign PR and request review

Actions
Auto assign PR and request review
v1.0.2
Latest
Star (8)

@delivery-much/actions-assigner

Assign and request review functions are defined in github.js.

If reviewers or team-reviewers are not set, the Action will only auto assign the PR.

Inputs

Name Description Example
token Required if using team-reviewers A repo scoped personal access token. Why. Create one here. ${{ secrets.GH_TOKEN }}
reviewers GitHub usernames, separated by comma user1,user2,user3
team-reviewers Organization team names, separated by comma backend

Example workflow

  • 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: delivery-much/actions-assigner@v1
        with:
          token: ${{ secrets.GH_TOKEN }}
          team-reviewers: backend

Auto assign PR and request review is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Auto assign PR and request review
v1.0.2
Latest

Auto assign PR and request review is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.