Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

An action for automatically label swapping for draft pull requests

Notifications You must be signed in to change notification settings

jinmayamashita/ready-for-review

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

Repository files navigation

Ready for review

An action for automatically label swapping for draft pull requests.

Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro.

demo

Usage

Inputs

in-progress-label

Required The name of the In progress label. Default "In progress".

ready-for-review-label

Required The name of the Ready for review label. Default "Ready for review".

repo-token

Required GITHUB_TOKEN as the value for the repo-token input parameter.

Example usage

on:
  pull_request:
    types: [opened, ready_for_review]

jobs:
  foo:
    runs-on: ubuntu-latest
    name: fooName
    steps:
    - name: label swapping
      uses: jinmayamashita/ready-for-review@1.0.0
      with:
        in-progress-label: 'my InProgress label'
        ready-for-review-label: 'my ReadyForReview label'
        repo-token: ${{ secrets.GITHUB_TOKEN }}

About

An action for automatically label swapping for draft pull requests

Topics

Resources

Stars

Watchers

Forks