Skip to content

Commit d86b2d3

Browse files
Adding CODEOWNERS check Github Action workflow
1 parent 52884e8 commit d86b2d3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CODEOWNERS Coverage Check
2+
permissions:
3+
contents: read
4+
5+
on:
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
validate-codeowners:
11+
if: github.actor != 'dependabot[bot]'
12+
runs-on: depot-ubuntu-24.04
13+
steps:
14+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # actions/checkout@v6
15+
- uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f #v0.7.4
16+
env:
17+
INPUT_GITHUB_APP_PRIVATE_KEY: "${{ secrets.SECENG_CICD_CHECKS_PRIVATE_KEY }}"
18+
INPUT_GITHUB_APP_INSTALLATION_ID: "${{ secrets.SECENG_CICD_CHECKS_INSTALLATIONID }}"
19+
INPUT_GITHUB_APP_ID: "${{ secrets.SECENG_CICD_CHECKS_APPID }}"
20+
with:
21+
checks: "owners,duppatterns"
22+
experimental_checks: "notowned"

0 commit comments

Comments
 (0)