Skip to content

Commit 59c80b9

Browse files
Remove CELA review requirements for RAI content (#57900)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
1 parent f664fd0 commit 59c80b9

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ src/ghes-releases/lib/enterprise-dates.json @github/docs-content-enterprise
1212

1313
# Requires review of #actions-oidc-integration, docs-engineering/issues/1506
1414
# content/actions/deployment/security-hardening-your-deployments/** @github/oidc
15-
16-
# RAI - CELA
17-
data/reusables/rai/** @github/legal-product

src/frame/tests/secure-files.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,17 @@ import { glob } from 'glob'
1010
* path: Path to secure files (must match entry in CODEOWNERS if code owner required)
1111
* requiredCodeOwner: (optional) Name of code owner if a code owner is required
1212
*/
13-
const secureFiles = [
13+
type SecureFile = {
14+
name: string
15+
path: string
16+
requiredCodeOwner?: string
17+
}
18+
19+
const secureFiles: SecureFile[] = [
1420
{
1521
name: 'Security hardening your deployments',
1622
path: 'content/actions/how-tos/secure-your-work/security-harden-deployments/**',
1723
},
18-
{
19-
name: 'RAI transparency note reusable directory',
20-
path: 'data/reusables/rai',
21-
requiredCodeOwner: 'github/legal-product',
22-
},
2324
]
2425

2526
const codeOwnersFile = await fs.readFile('.github/CODEOWNERS', 'utf8')

0 commit comments

Comments
 (0)