Skip to content

feat(form): add success validation type to setValidateMessage #389

feat(form): add success validation type to setValidateMessage

feat(form): add success validation type to setValidateMessage #389

Workflow file for this run

name: sync-to-cnb
on:
- push
- delete
jobs:
sync-push:
if: ${{ github.repository == 'TDesignOteam/tdesign-api' && github.event_name == 'push' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync to CNB Repository
run: |
docker run --rm \
-v ${{ github.workspace }}:${{ github.workspace }} \
-w ${{ github.workspace }} \
-e PLUGIN_TARGET_URL="https://cnb.cool/tencent/tdesign/tdesign-api.git" \
-e PLUGIN_AUTH_TYPE="https" \
-e PLUGIN_USERNAME="cnb" \
-e PLUGIN_PASSWORD=${{ secrets.CNB_TOKEN }} \
-e PLUGIN_FORCE="true" \
tencentcom/git-sync
sync-delete-branch:
if: ${{ github.repository == 'TDesignOteam/tdesign-api' && github.event_name == 'delete' && github.event.ref_type == 'branch' }}
runs-on: ubuntu-latest
steps:
- uses: TDesignOteam//tdesign-pr-trigger-action@develop
with:
repo: 'tencent/tdesign/tdesign-api'
token: ${{ secrets.CNB_TOKEN }}
branch: ${{ github.event.ref }}
trigger: '/delete-cnb-branch'