Remove CELA review requirements for RAI content (#57900)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
This commit is contained in:
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
@@ -12,6 +12,3 @@ src/ghes-releases/lib/enterprise-dates.json @github/docs-content-enterprise
|
||||
|
||||
# Requires review of #actions-oidc-integration, docs-engineering/issues/1506
|
||||
# content/actions/deployment/security-hardening-your-deployments/** @github/oidc
|
||||
|
||||
# RAI - CELA
|
||||
data/reusables/rai/** @github/legal-product
|
||||
|
||||
@@ -10,16 +10,17 @@ import { glob } from 'glob'
|
||||
* path: Path to secure files (must match entry in CODEOWNERS if code owner required)
|
||||
* requiredCodeOwner: (optional) Name of code owner if a code owner is required
|
||||
*/
|
||||
const secureFiles = [
|
||||
type SecureFile = {
|
||||
name: string
|
||||
path: string
|
||||
requiredCodeOwner?: string
|
||||
}
|
||||
|
||||
const secureFiles: SecureFile[] = [
|
||||
{
|
||||
name: 'Security hardening your deployments',
|
||||
path: 'content/actions/how-tos/secure-your-work/security-harden-deployments/**',
|
||||
},
|
||||
{
|
||||
name: 'RAI transparency note reusable directory',
|
||||
path: 'data/reusables/rai',
|
||||
requiredCodeOwner: 'github/legal-product',
|
||||
},
|
||||
]
|
||||
|
||||
const codeOwnersFile = await fs.readFile('.github/CODEOWNERS', 'utf8')
|
||||
|
||||
Reference in New Issue
Block a user