feat: trigger action on site branch (#493)

This commit is contained in:
yuyang 2023-05-10 19:52:57 +08:00 committed by GitHub
parent 2794bdcb5c
commit 4bcf7d22aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,14 @@
# 文件名建议统一为 pull-request.yml # 文件名建议统一为 pull-request.yml
# 应用 test-build.yml 的 demo # 应用 test-build.yml 的 demo
name: MAIN_PULL_REQUEST name: MAIN_PULL_REQUEST
on: on:
pull_request: pull_request:
branches: [develop, main] branches: [develop, main, site]
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:
call-test-build: call-test-build:
uses: Tencent/tdesign/.github/workflows/test-build.yml@main uses: Tencent/tdesign/.github/workflows/test-build.yml@main
# install lint
# install lint