Files
C-Plus-Plus/.github/workflows/approved-label.yml
realstealthninja ba0d3fff49 ci: fix permissions issue with approved-label (#3017)
* ci: use a different action forlabelling on pr approval.

* ci: fix permissions issue with approved-label
2025-10-01 14:33:13 +00:00

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"