重新为TTS适配了最新的插件系统,并且修复了一个不明参数。 #595
This file contains hidden or 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
| # .github/workflows/precheck.yml | |
| name: PR Precheck | |
| on: [pull_request] | |
| jobs: | |
| conflict-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Check Conflicts | |
| run: | | |
| git fetch origin main | |
| if git diff --name-only --diff-filter=U origin/main...HEAD | grep .; then | |
| echo "CONFLICT=true" >> $GITHUB_ENV | |
| fi | |
| labeler: | |
| runs-on: ubuntu-latest | |
| needs: conflict-check | |
| steps: | |
| - uses: actions/github-script@v6 | |
| if: env.CONFLICT == 'true' | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.issue.number, | |
| labels: ['🚫冲突需处理'] | |
| }) |