Skip to content

chore: refine the annotations of Component and ITS objects #1863

chore: refine the annotations of Component and ITS objects

chore: refine the annotations of Component and ITS objects #1863

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