Skip to content

chore: skip the component definition that is not supported by the current operator #2862

chore: skip the component definition that is not supported by the current operator

chore: skip the component definition that is not supported by the current operator #2862

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