diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 464d856..dc98e71 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @jsirianni @Dylan-M +* @observIQ/platformteam diff --git a/.github/workflows/codeowners-validator.yml b/.github/workflows/codeowners-validator.yml new file mode 100644 index 0000000..aefb948 --- /dev/null +++ b/.github/workflows/codeowners-validator.yml @@ -0,0 +1,19 @@ +name: Validate CODEOWNERS + +on: + workflow_dispatch: + pull_request: + paths: + - '.github/CODEOWNERS' + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - uses: mszostok/codeowners-validator@v0.7.4 + with: + checks: "files,owners,duppatterns,syntax" + github_access_token: "${{ secrets.CODEOWNERS_VALIDATOR_TOKEN }}" +