mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-04 02:56:40 +08:00
* ci: use a different action forlabelling on pr approval. * ci: fix permissions issue with approved-label
16 lines
419 B
YAML
16 lines
419 B
YAML
on: pull_request_review
|
|
name: Add "approved" label when approved
|
|
permissions:
|
|
pull-requests: write
|
|
jobs:
|
|
add_label:
|
|
name: Add "approved" label when approved
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Add "approved" label when approved
|
|
uses: realstealthninja/label-when-approved@main
|
|
with:
|
|
approvals: 1
|
|
secret: ${{ secrets.GITHUB_TOKEN }}
|
|
label: "approved"
|