Skip to content

PR Label Approved Add #2340

PR Label Approved Add

PR Label Approved Add #2340

name: PR Label Approved Add
on:
pull_request_review:
types: [submitted]
branches:
- main
- release-*
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
jobs:
approve-label:
if: github.event.review.state == 'approved'
uses: apecloud/apecloud-cd/.github/workflows/pull-request-label.yml@v0.1.61
with:
LABEL_NAME: "approved"
LABEL_OPS: "ADD"
APECD_REF: "v0.1.61"
secrets: inherit