Code Monkey home page Code Monkey logo

add-reviewer-gh-action's Introduction

add-reviewer-gh-action

GitHub Action to add reviewer(s) to a pull request.

GitHub will add CODEOWNERS as reviewers at the start of a pull request, before any steps of the workflow have run or passed. This action allows reviewers to be specified so that they will be added when this step of the workflow runs, such as at the end of a workflow, instead of at the start to avoid early notifications while work is not ready.

Usage

- name: Add Pull Request Reviewer
      uses: AveryCameronUofR/[email protected]
      with: 
        reviewers: "AveryCameronUofR"
        token: ${{ secrets.GITHUB_TOKEN }}

Action Inputs

Name Description Default
token GITHUB_TOKEN or a repo scoped PAT. GITHUB_TOKEN
reviewers The email or user name of the reviewer(s) to add. If more than one use a comma separated list. none
remove Remove a review request (boolean) false

Action Outputs

None

Action Result

Fails workflow when invalid reviewer added, this may be the result of an incorrect name or email.

Modification

To use and modify the action for yourself: Make sure that node is installed on your computer. Then run npm install to update node_modules.

Make configuration modifications to the actions.yml file as needed.

Build new dist/index.js file with ncc: npx ncc build index.js

Create a new release tag and publish.

add-reviewer-gh-action's People

Contributors

averycameronuofr avatar jwm0 avatar calexander3 avatar dependabot[bot] 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.