File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Check for CODEOWNERS
2+
3+ on :
4+ # Runs on a pull request for the main branch (we use
5+ # 'pull_request_target' instead of 'pull_request' so
6+ # it also works for forks, since the secrets would
7+ # otherwise not be available for forks.
8+ pull_request_target :
9+ types :
10+ # Default events
11+ - opened
12+ - synchronize
13+ - reopened
14+ # But we also want to make sure a potential
15+ # exception request pull request is getting
16+ # closed if any was open
17+ - closed
18+ branches :
19+ - main
20+ - master
21+ # Runs on a merge group build
22+ merge_group :
23+
24+ permissions :
25+ contents : read
26+
27+ concurrency :
28+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
29+ cancel-in-progress : false
30+
31+ jobs :
32+ check :
33+ name : Check for CODEOWNERS
34+
35+ runs-on : ubuntu-latest
36+
37+ steps :
38+ - name : Checkout repo
39+ uses : actions/checkout@v4
40+ with :
41+ sparse-checkout : |
42+ CODEOWNERS
43+ .github/CODEOWNERS
44+ sparse-checkout-cone-mode : false
You can’t perform that action at this time.
0 commit comments