mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-04-14 02:30:40 +08:00
ci: use a different action forlabelling on pr approval. (#3016)
This commit is contained in:
13
.github/workflows/approved-label.yml
vendored
13
.github/workflows/approved-label.yml
vendored
@@ -5,10 +5,9 @@ jobs:
|
||||
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: ""
|
||||
- name: Add "approved" label when approved
|
||||
uses: realstealthninja/label-when-approved@main
|
||||
with:
|
||||
approvals: 1
|
||||
secret: ${{ secrets.GITHUB_TOKEN }}
|
||||
label: "approved"
|
||||
|
||||
Reference in New Issue
Block a user