Skip to content

Commit 44de271

Browse files
chore: update CODEOWNERS to use teams and add validator workflow (#193)
* chore: update CODEOWNERS to use teams and add validator workflow - Replace @observIQ/terraform-owners with @observIQ/platformteam - Add CODEOWNERS validator GitHub Action workflow PLAT-427 * Update CODEOWNERS validator workflow - Use actions/checkout@v6 - Use CODEOWNERS_VALIDATOR_TOKEN for org permissions - Only trigger on pull_request and workflow_dispatch - Only watch .github/CODEOWNERS path
1 parent 91c385c commit 44de271

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @observIQ/terraform-owners
1+
* @observIQ/platformteam
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Validate CODEOWNERS
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
paths:
7+
- '.github/CODEOWNERS'
8+
9+
jobs:
10+
validate:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
15+
- uses: mszostok/codeowners-validator@v0.7.4
16+
with:
17+
checks: "files,owners,duppatterns,syntax"
18+
github_access_token: "${{ secrets.CODEOWNERS_VALIDATOR_TOKEN }}"
19+

0 commit comments

Comments
 (0)