Skip to content

chore: remove all scope of the opsDefinition #1600

chore: remove all scope of the opsDefinition

chore: remove all scope of the opsDefinition #1600

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/[email protected]
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/[email protected]
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/[email protected]
with:
LABEL_NAME: "pre-approve"
LABEL_OPS: "ADD"
APECD_REF: "v0.1.61"
secrets: inherit