-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (33 loc) · 941 Bytes
/
lint-codeowners.yml
File metadata and controls
37 lines (33 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#### THIS FILE IS MANAGED BY AN AUTOMATED WORKFLOW ####
name: "Lint CODEOWNERS"
on:
pull_request:
paths:
- "**/CODEOWNERS"
- "!**/node_modules/**"
branches:
- main
- master
# One build per branch, cancel out of date builds
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
issues: write
pull-requests: write
statuses: write
checks: write
contents: read
security-events: read
jobs:
lint-codeowners:
name: "Lint CODEOWNERS file"
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- uses: mszostok/codeowners-validator@7f3f5e28c6d7b8dfae5731e54ce2272ca384592f # tag=v0.7.4
with:
checks: "files,duppatterns,syntax"
experimental_checks: "avoid-shadowing"
github_access_token: "${{ secrets.GITHUB_TOKEN }}"