Skip to content

Commit 642ca76

Browse files
committed
WIP - add action
1 parent 00ff18b commit 642ca76

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,24 @@ jobs:
126126
name: LICENSE-3rdparty.yml
127127
path: /tmp/CI.yaml
128128
overwrite: true
129+
130+
codeowners-validator:
131+
runs-on: ubuntu-latest
132+
name: "Validate CODEOWNERS"
133+
steps:
134+
- name: Checkout sources
135+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
136+
- name: GitHub CODEOWNERS Validator
137+
uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f #v0.7.4
138+
# input parameters
139+
with:
140+
github_app_id: ${{ secrets.CODEOWNERS_VALIDATOR_APP_ID }}
141+
github_app_installation_id: ${{ secrets.CODEOWNERS_VALIDATOR_APP_INSTALLATION_ID }}
142+
github_app_private_key: ${{ secrets.CODEOWNERS_VALIDATOR_APP_PRIVATE_KEY }}
143+
144+
# "The list of checks that will be executed. By default, all checks are executed. Possible values: files,owners,duppatterns,syntax"
145+
checks: "files,duppatterns,syntax"
146+
# "The comma-separated list of experimental checks that should be executed. By default, all experimental checks are turned off. Possible values: notowned."
147+
experimental_checks: "notowned"
148+
# The repository path in which CODEOWNERS file should be validated."
149+
repository_path: "."

0 commit comments

Comments
 (0)