Skip to content

Codeowners Validator #566

Codeowners Validator

Codeowners Validator #566

Workflow file for this run

name: "Codeowners Validator"
on:
workflow_dispatch:
pull_request:
paths:
- '.github/CODEOWNERS'
- '.github/workflows/sanity.yaml'
schedule:
# Runs at 08:00 UTC every day
- cron: '0 8 * * *'
jobs:
sanity:
runs-on: ubuntu-latest
steps:
# Checks-out your repository, which is validated in the next step
- uses: actions/checkout@v2
- name: GitHub CODEOWNERS Validator
uses: mszostok/codeowners-validator@v0.5.0
with:
checks: "duppatterns,syntax"
experimental_checks: "notowned"
# GitHub access token is required only if the `owners` check is enabled
github_access_token: "${{ secrets.OWNERS_VALIDATOR_GITHUB_SECRET }}"