chore: skip the component definition that is not supported by the current operator #2862
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |