Skip to content

Auto assign PR and request review

License

Notifications You must be signed in to change notification settings

scorebet/actions-assigner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

Auto assign PR and request review

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%