name: Labeling when approved PR
on:
pull_request_review:
types: [submitted]
jobs:
add-approve-label:
runs-on: [ self-hosted ]
steps:
- uses: actions/checkout@v2
- name: Add APPROVE label
uses: Dev-MJ/LabelingWhenApproved@main
with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
approves-number: 1 # set the required number of reviewers for your PR
label-name: "APPROVED"
Dev-MJ/LabelingWhenApproved
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published