mirror of
https://github.com/TheAlgorithms/C
synced 2025-02-19 23:14:23 +03:00
feat: Add the Approved Label
workflow (#830)
When a pull request is approved, it'll automatically add the `approved` label.
This commit is contained in:
parent
fb778074c7
commit
373f9c4a66
14
.github/workflows/approved-label.yml
vendored
Normal file
14
.github/workflows/approved-label.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
on: pull_request_review
|
||||
name: Add "approved" label when approved
|
||||
jobs:
|
||||
add_label:
|
||||
name: Add "approved" label when approved
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add "approved" label when approved
|
||||
uses: pullreminders/label-when-approved-action@master
|
||||
env:
|
||||
APPROVALS: "1"
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
ADD_LABEL: "approved"
|
||||
REMOVE_LABEL: ""
|
Loading…
x
Reference in New Issue
Block a user