Skip to content

feat: Support Reconciliation View #2020

feat: Support Reconciliation View

feat: Support Reconciliation View #2020

name: PR Label Approved Remove
on:
pull_request_target:
types: [ opened, synchronize, reopened ]
branches:
- main
- release-*
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
jobs:
approve-label:
uses: apecloud/apecloud-cd/.github/workflows/pull-request-label.yml@v0.1.61
with:
LABEL_NAME: "approved"
LABEL_OPS: "REMOVE"
APECD_REF: "v0.1.61"
secrets: inherit
remove-fork-approve-label:
if: github.event.pull_request.head.repo.full_name != github.repository
uses: apecloud/apecloud-cd/.github/workflows/pull-request-label.yml@v0.1.61
with:
LABEL_NAME: "pre-approve"
LABEL_OPS: "REMOVE"
APECD_REF: "v0.1.61"
secrets: inherit
approve-label-fork:
needs: [ remove-fork-approve-label ]
if: github.event.pull_request.head.repo.full_name != github.repository
uses: apecloud/apecloud-cd/.github/workflows/pull-request-label.yml@v0.1.61
with:
LABEL_NAME: "pre-approve"
LABEL_OPS: "ADD"
APECD_REF: "v0.1.61"
secrets: inherit