diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index da85f250f814..e4dcd13455d9 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/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md b/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md index 38823da707e5..ade94508c8d9 100644 --- a/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md +++ b/content/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github.md @@ -56,7 +56,7 @@ Your workflow will need to use the `upload-sarif` action, which is part of the ` * `sarif_file`, which configures the file or directory of SARIF files to be uploaded. The directory or file path is relative to the root of the repository. * `category` (optional), which assigns a category for results in the SARIF file. This enables you to analyze the same commit in multiple ways and review the results using the {% data variables.product.prodname_code_scanning %} views in {% data variables.product.prodname_dotcom %}. For example, you can analyze using multiple tools, and in mono-repos, you can analyze different slices of the repository based on the subset of changed files. -For more information, see the [`upload-sarif` action](https://github.com/github/codeql-action/tree/v3/upload-sarif). +For more information, see the [`upload-sarif` action](https://github.com/github/codeql-action/tree/v4/upload-sarif). The `upload-sarif` action can be configured to run when the `push` and `scheduled` event occur. For more information about {% data variables.product.prodname_actions %} events, see [AUTOTITLE](/actions/using-workflows/events-that-trigger-workflows). diff --git a/content/copilot/get-started/choose-enterprise-plan.md b/content/copilot/get-started/choose-enterprise-plan.md index 33a236aad868..321be0c0ce2c 100644 --- a/content/copilot/get-started/choose-enterprise-plan.md +++ b/content/copilot/get-started/choose-enterprise-plan.md @@ -71,7 +71,7 @@ When you've determined whether premium requests and {% data variables.copilot.co Sign up: -Copilot Business Copilot Enterprise +Copilot Business Copilot Enterprise {% endnote %} diff --git a/content/copilot/get-started/plans.md b/content/copilot/get-started/plans.md index d047b47bde0a..14cfc38070d7 100644 --- a/content/copilot/get-started/plans.md +++ b/content/copilot/get-started/plans.md @@ -41,10 +41,10 @@ Start using {% data variables.product.prodname_copilot_short %} by signing up fo * **{% data variables.copilot.copilot_free_short %}** — Try {% data variables.product.prodname_copilot_short %} with limited features and requests. [Start using {% data variables.copilot.copilot_free_short %}](https://github.com/copilot). -* **{% data variables.copilot.copilot_pro_short %}** — Get unlimited completions and access to premium models. Includes a free 30-day trial for eligible users. [Try {% data variables.copilot.copilot_pro_short %} for free](https://github.com/github-copilot/signup?ref_product=copilot&ref_type=trial&ref_style=text). +* **{% data variables.copilot.copilot_pro_short %}** — Get unlimited completions and access to premium models. Includes a free 30-day trial for eligible users. [Try {% data variables.copilot.copilot_pro_short %} for free](https://github.com/github-copilot/signup?ref_product=copilot&ref_type=trial&ref_style=text&ref_plan=pro). * **{% data variables.copilot.copilot_pro_plus_short %}** — Unlock advanced AI models, extended request limits, and extra capabilities. [Subscribe to {% data variables.copilot.copilot_pro_plus_short %}](https://github.com/github-copilot/signup?ref_product=copilot&ref_type=purchase&ref_style=text&ref_plan=pro). -* **{% data variables.copilot.copilot_business_short %}** — For teams and organizations. [Subscribe to {% data variables.copilot.copilot_business_short %}](https://github.com/github-copilot/purchase?priority=business&cft=copilot_li.copilot_plans.cfb). +* **{% data variables.copilot.copilot_business_short %}** — For teams and organizations. [Subscribe to {% data variables.copilot.copilot_business_short %}](https://github.com/github-copilot/purchase?ref_product=copilot&ref_type=purchase&ref_style=button&ref_plan=business). -* **{% data variables.copilot.copilot_enterprise_short %}** — For enterprises that need advanced features and centralized management. [Subscribe to {% data variables.copilot.copilot_enterprise_short %}](https://github.com/github-copilot/purchase?priority=enterprise&cft=copilot_li.copilot_plans.ce). +* **{% data variables.copilot.copilot_enterprise_short %}** — For enterprises that need advanced features and centralized management. [Subscribe to {% data variables.copilot.copilot_enterprise_short %}](https://github.com/github-copilot/purchase?ref_product=copilot&ref_type=purchase&ref_style=button&ref_plan=enterprise). diff --git a/content/copilot/get-started/what-is-github-copilot.md b/content/copilot/get-started/what-is-github-copilot.md index 8b4db7ee8d20..c790276dec86 100644 --- a/content/copilot/get-started/what-is-github-copilot.md +++ b/content/copilot/get-started/what-is-github-copilot.md @@ -60,7 +60,7 @@ There are a few ways you can start using {% data variables.product.prodname_copi ### For individuals * **Try {% data variables.product.prodname_copilot_short %} for free**: Use {% data variables.copilot.copilot_free_short %} to explore core {% data variables.product.prodname_copilot_short %} features with no paid plan required. -* **Subscribe to a paid plan**: Upgrade to {% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %} for full access to premium features and more generous usage limits. You can try {% data variables.copilot.copilot_pro_short %} for free with a one-time 30-day trial. +* **Subscribe to a paid plan**: Upgrade to {% data variables.copilot.copilot_pro_short %} or {% data variables.copilot.copilot_pro_plus_short %} for full access to premium features and more generous usage limits. You can try {% data variables.copilot.copilot_pro_short %} for free with a one-time 30-day trial. * **Eligible for free {% data variables.copilot.copilot_pro_short %} access?** Students, teachers, and open source maintainers may qualify for {% data variables.copilot.copilot_pro_short %} at no cost. See [AUTOTITLE](/copilot/managing-copilot/managing-copilot-as-an-individual-subscriber/getting-free-access-to-copilot-as-a-student-teacher-or-maintainer). * **Organization members**: If your organization or enterprise has a {% data variables.product.prodname_copilot %} plan, you can request access to {% data variables.product.prodname_copilot_short %} by going to [https://github.com/settings/copilot](https://github.com/settings/copilot) and requesting access under "Get {% data variables.product.prodname_copilot_short %} from an organization." diff --git a/data/reusables/actions/action-codeql-action-analyze.md b/data/reusables/actions/action-codeql-action-analyze.md index 3d7802175138..4b6d92462f57 100644 --- a/data/reusables/actions/action-codeql-action-analyze.md +++ b/data/reusables/actions/action-codeql-action-analyze.md @@ -1 +1 @@ -github/codeql-action/analyze@v3 +github/codeql-action/analyze@v4 diff --git a/data/reusables/actions/action-codeql-action-autobuild.md b/data/reusables/actions/action-codeql-action-autobuild.md index c4ee9dc4964e..078ada6fd7cb 100644 --- a/data/reusables/actions/action-codeql-action-autobuild.md +++ b/data/reusables/actions/action-codeql-action-autobuild.md @@ -1 +1 @@ -github/codeql-action/autobuild@v3 +github/codeql-action/autobuild@v4 diff --git a/data/reusables/actions/action-codeql-action-init.md b/data/reusables/actions/action-codeql-action-init.md index e34e0c47f745..99ae28dede07 100644 --- a/data/reusables/actions/action-codeql-action-init.md +++ b/data/reusables/actions/action-codeql-action-init.md @@ -1 +1 @@ -github/codeql-action/init@v3 +github/codeql-action/init@v4 diff --git a/data/reusables/actions/action-codeql-action-upload-sarif.md b/data/reusables/actions/action-codeql-action-upload-sarif.md index c5ecccdf41e9..413d80ce0df2 100644 --- a/data/reusables/actions/action-codeql-action-upload-sarif.md +++ b/data/reusables/actions/action-codeql-action-upload-sarif.md @@ -1 +1 @@ -github/codeql-action/upload-sarif@v3 +github/codeql-action/upload-sarif@v4 diff --git a/src/frame/tests/secure-files.ts b/src/frame/tests/secure-files.ts index e942e19a6695..9b0f6105d7ad 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') diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index b4737f6059fc..7fab2fbc3d40 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -20319,7 +20319,7 @@ type IssueTimelineConnection { An item in an issue timeline """ union IssueTimelineItem = - AssignedEvent + | AssignedEvent | ClosedEvent | Commit | CrossReferencedEvent @@ -20358,7 +20358,7 @@ type IssueTimelineItemEdge { An item in an issue timeline """ union IssueTimelineItems = - AddedToProjectEvent + | AddedToProjectEvent | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent @@ -31301,7 +31301,7 @@ type OrgRestoreMemberAuditEntry implements AuditEntry & Node & OrganizationAudit Types of memberships that can be restored for an Organization member. """ union OrgRestoreMemberAuditEntryMembership = - OrgRestoreMemberMembershipOrganizationAuditEntryData + | OrgRestoreMemberMembershipOrganizationAuditEntryData | OrgRestoreMemberMembershipRepositoryAuditEntryData | OrgRestoreMemberMembershipTeamAuditEntryData @@ -33769,7 +33769,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr An audit entry in an organization audit log. """ union OrganizationAuditEntry = - MembersCanDeleteReposClearAuditEntry + | MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | OauthApplicationCreateAuditEntry @@ -38589,7 +38589,7 @@ type ProjectV2ItemFieldUserValue { Project field values """ union ProjectV2ItemFieldValue = - ProjectV2ItemFieldDateValue + | ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue @@ -42911,7 +42911,7 @@ type PullRequestTimelineConnection { An item in a pull request timeline """ union PullRequestTimelineItem = - AssignedEvent + | AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent @@ -42964,7 +42964,7 @@ type PullRequestTimelineItemEdge { An item in a pull request timeline """ union PullRequestTimelineItems = - AddedToMergeQueueEvent + | AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent @@ -54904,7 +54904,7 @@ enum RuleEnforcement { Types which can be parameters for `RepositoryRule` objects. """ union RuleParameters = - BranchNamePatternParameters + | BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index b4737f6059fc..7fab2fbc3d40 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -20319,7 +20319,7 @@ type IssueTimelineConnection { An item in an issue timeline """ union IssueTimelineItem = - AssignedEvent + | AssignedEvent | ClosedEvent | Commit | CrossReferencedEvent @@ -20358,7 +20358,7 @@ type IssueTimelineItemEdge { An item in an issue timeline """ union IssueTimelineItems = - AddedToProjectEvent + | AddedToProjectEvent | AssignedEvent | BlockedByAddedEvent | BlockedByRemovedEvent @@ -31301,7 +31301,7 @@ type OrgRestoreMemberAuditEntry implements AuditEntry & Node & OrganizationAudit Types of memberships that can be restored for an Organization member. """ union OrgRestoreMemberAuditEntryMembership = - OrgRestoreMemberMembershipOrganizationAuditEntryData + | OrgRestoreMemberMembershipOrganizationAuditEntryData | OrgRestoreMemberMembershipRepositoryAuditEntryData | OrgRestoreMemberMembershipTeamAuditEntryData @@ -33769,7 +33769,7 @@ type Organization implements Actor & MemberStatusable & Node & PackageOwner & Pr An audit entry in an organization audit log. """ union OrganizationAuditEntry = - MembersCanDeleteReposClearAuditEntry + | MembersCanDeleteReposClearAuditEntry | MembersCanDeleteReposDisableAuditEntry | MembersCanDeleteReposEnableAuditEntry | OauthApplicationCreateAuditEntry @@ -38589,7 +38589,7 @@ type ProjectV2ItemFieldUserValue { Project field values """ union ProjectV2ItemFieldValue = - ProjectV2ItemFieldDateValue + | ProjectV2ItemFieldDateValue | ProjectV2ItemFieldIterationValue | ProjectV2ItemFieldLabelValue | ProjectV2ItemFieldMilestoneValue @@ -42911,7 +42911,7 @@ type PullRequestTimelineConnection { An item in a pull request timeline """ union PullRequestTimelineItem = - AssignedEvent + | AssignedEvent | BaseRefDeletedEvent | BaseRefForcePushedEvent | ClosedEvent @@ -42964,7 +42964,7 @@ type PullRequestTimelineItemEdge { An item in a pull request timeline """ union PullRequestTimelineItems = - AddedToMergeQueueEvent + | AddedToMergeQueueEvent | AddedToProjectEvent | AssignedEvent | AutoMergeDisabledEvent @@ -54904,7 +54904,7 @@ enum RuleEnforcement { Types which can be parameters for `RepositoryRule` objects. """ union RuleParameters = - BranchNamePatternParameters + | BranchNamePatternParameters | CodeScanningParameters | CommitAuthorEmailPatternParameters | CommitMessagePatternParameters