fix: 修复切换保存导致的递归引用问题 #16572
Workflow file for this run
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: Label Checker | |
on: | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
jobs: | |
check_project_label: | |
name: 检查项目标签 | |
# runs-on: ubuntu-latest | |
runs-on: self-hosted | |
steps: | |
- name: Check project label | |
uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
any_of: project/monitor,project/apm,project/log,project/public | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Comment PR | |
if : ${{ failure() }} | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
请在 PR 中添加项目标签,例如:`project/monitor`、`project/apm`、`project/log`、`project/public` | |
check_type_label: | |
name: 检查类型标签 | |
# runs-on: ubuntu-latest | |
runs-on: self-hosted | |
steps: | |
- name: Check type label | |
uses: docker://agilepathway/pull-request-label-checker:latest | |
with: | |
any_of: fix,feat,docs,style,refactor,test,chore,merge,perf | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Comment PR | |
if : ${{ failure() }} | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
请在 PR 中添加类型标签,例如:`fix`、`feat`、`docs`、`style`、`refactor`、`test`、`chore`、`merge`, `perf` |