From 59c80b988dea18c5cd0036bd66d46339f7f10837 Mon Sep 17 00:00:00 2001 From: Alex Nguyen <150945400+nguyenalex836@users.noreply.github.com> Date: Fri, 10 Oct 2025 10:54:17 -0700 Subject: [PATCH] Remove CELA review requirements for RAI content (#57900) Co-authored-by: Kevin Heis --- .github/CODEOWNERS | 3 --- src/frame/tests/secure-files.ts | 13 +++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index da85f250f8..e4dcd13455 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -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 diff --git a/src/frame/tests/secure-files.ts b/src/frame/tests/secure-files.ts index e942e19a66..9b0f6105d7 100644 --- a/src/frame/tests/secure-files.ts +++ b/src/frame/tests/secure-files.ts @@ -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')