GithubHelp home page GithubHelp logo

ryaugusta / pr-add-reviewers Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 176 KB

A GitHub Action which will add users/teams as reviewers to an open pull request.

License: MIT License

JavaScript 100.00%
github-actions pull-request pull-requests reviewers

pr-add-reviewers's Introduction

Add Reviewers to Pull Request

Build

This action will add reviewers to a pull request. It will not add reviewers that are not collaborators on the repository.

Inputs

Name Description Required
reviewers List of user logins, comma separated, that will be requested. Must be collaborators. no
team_reviewers List of team names, comma separated, that will be requested. Must be collaborators. no
token ${{ secrets.GITHUB_TOKEN }} yes

Example Usage:

You must provide either reviewers, team_reviewers or both for this action to run.

Add reviewer(s) to a pull request on the working repository

...
- uses: ryaugusta/pr-add-reviewers-action@v1
  with:
    token: ${{ github.token }}
    reviewers: '<user_name>'
    # team_reviewers: '<team_name>'
...

Note

In some cases you may see an error where there are invalid permissions if using the GITHUB_TOKEN secret. You can add specific permissions in your workflow for this:

runs-on: ubuntu-latest
permissions: write-all 
steps:
...

License

MIT

pr-add-reviewers's People

Contributors

ryaugusta avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.