Merge pull request #1436 from square/sedwards/timeout-longer #6232
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: Validate Codeowners | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| jobs: | |
| codeowners: | |
| name: Validate Codeowners | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| # https://github.com/marketplace/actions/github-codeowners-validator | |
| - uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f # v0.7.4 | |
| with: | |
| # TODO(https://github.com/square/workflow-kotlin/issues/316) Add the owners check | |
| # back once this is fixed, or we implement a workaround. | |
| checks: "files,syntax,duppatterns" #,owners | |
| experimental_checks: "notowned" | |
| # Wardell is not in the Square org apparently. | |
| owner_checker_ignored_owners: "@wardellbagby" | |
| # GitHub access token is required only if the `owners` check is enabled | |
| github_access_token: "${{ secrets.OWNERS_VALIDATOR_GITHUB_SECRET }}" |