[新] 如何怎样 > GitHub > Rulesets > 如何在分支保护规则集中要求 PR 必须通过自己的 CI/工作流 (#111) #135
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: 检查本地路径 | |
| # GitHub Action DuckDuckStudio/Check_Locale_Paths 版本 1.0.0 示例工作流 | |
| # https://github.com/marketplace/actions/check-locale-paths | |
| # 通过 [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/Check_Locale_Paths/blob/main/LICENSE) 许可 | |
| # 此工作流最初通过 [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/yazicbs.github.io/blob/main/LICENSE.txt) 从 DuckDuckStudio/yazicbs.github.io 获得许可。 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: {} | |
| jobs: | |
| check-local-paths: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 检查本地路径 | |
| uses: DuckDuckStudio/[email protected] |