Skip to content

richlander is validating CODEOWNERS #271

richlander is validating CODEOWNERS

richlander is validating CODEOWNERS #271

name: CODEOWNERS Validation
run-name: ${{ github.actor }} is validating CODEOWNERS
on:
pull_request:
branches:
- main
jobs:
CheckDockerfileCodeowners:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Ensure each CODEOWNER is a team
if: always()
run: ./eng/validate-codeowners.sh ownersAreTeams
- name: Ensure each path has @dotnet/dotnet-docker-reviewers as a CODEOWNER
if: always()
run: ./eng/validate-codeowners.sh ownersIncludeDockerReviewers
- name: Check each Dockerfile for a CODEOWNER
if: always()
run: ./eng/validate-codeowners.sh dockerfilesHaveOwners
- name: Check for unused CODEOWNER paths
if: always()
run: ./eng/validate-codeowners.sh pathsAreUsed