Skip to content

delivery-much/actions-assigner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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