Label approved pull requests with "Ready to merge"

This commit is contained in:
Igor Pecovnik
2024-10-25 22:30:55 +02:00
committed by Igor
parent 0bdd1eec2f
commit 01c83b4639

View File

@@ -0,0 +1,14 @@
on: pull_request_review
name: Label approved pull requests
jobs:
labelWhenApproved:
name: Label when approved
runs-on: ubuntu-latest
steps:
- name: Label when approved
uses: pullreminders/label-when-approved-action@master
env:
APPROVALS: "1"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ADD_LABEL: "Ready to merge"
REMOVE_LABEL: "Needs%20review"