richlander is validating CODEOWNERS #28
Workflow file for this run
This file contains 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: 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 |