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.
Required The name of the In progress label. Default "In progress"
.
Required The name of the Ready for review label. Default "Ready for review"
.
Required GITHUB_TOKEN as the value for the repo-token
input parameter.
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 }}