Skip to content

Add CODEOWNERS file to ensure owners approve PRs before merging #2

Add CODEOWNERS file to ensure owners approve PRs before merging

Add CODEOWNERS file to ensure owners approve PRs before merging #2

Workflow file for this run

name: CODEOWNERS Check
on:
pull_request:
paths:
- '**/CODEOWNERS'
jobs:
check-changes:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Check for CODEOWNERS changes
run: |
if [ -f "CODEOWNERS" ]; then
echo "Changes detected in CODEOWNERS file. Please review and seek necessary approvals before merging."
exit 1
fi