refactor(security): 优化用户名校验逻辑并调整错误处理 #52
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
| name: flow | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| publish: | |
| uses: ./.github/workflows/template-publish.yml | |
| secrets: inherit | |
| deploy: | |
| needs: [publish] | |
| uses: ./.github/workflows/template-deploy.yml | |
| secrets: inherit |