mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Label approved pull requests with "Ready to merge"
This commit is contained in:
14
.github/workflows/pr-label-on-approved.yml
vendored
Normal file
14
.github/workflows/pr-label-on-approved.yml
vendored
Normal 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"
|
||||
Reference in New Issue
Block a user