Skip to content

dotnet-docker-bot is validating CODEOWNERS #54

dotnet-docker-bot is validating CODEOWNERS

dotnet-docker-bot is validating CODEOWNERS #54

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