Skip to content

Commit

Permalink
Merge pull request #34419 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Aug 27, 2024
2 parents ea7b092 + 13eb020 commit f185d1f
Show file tree
Hide file tree
Showing 9 changed files with 271 additions and 424 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,14 @@ Workflow runs are delayed when too many workflows run at once. Since many users

## Emphasis

Use italics to emphasize words or parts of a sentence. Use emphasis sparingly for terminology or context that someone must be aware of to successfully complete the task that they're working on. Do not use italics to emphasize words that have other formatting applied such as all caps for placeholder text or bold for UI elements.
Use bold to emphasize words or parts of a sentence. Use emphasis sparingly (no more than five contiguous words), and remember that it is a visual aid for scannability for sighted users.

* **Use:** _{% data variables.product.pat_v2 %}s_ have several security advantages over {% data variables.product.pat_v1_plural %}.
* **Use:** _For types of packages other than containers_, to the right of the package version click **Delete**.
* Do not bold words that have other formatting applied, such as all caps for placeholder text.
* For accessibility, do not use bolding as the only way to convey meaning or emphasis.

For example:

* **Use:** Managed user accounts **cannot create public content** or collaborate outside your enterprise.
* **Avoid:** Next to _**Title**_, add a descriptive label for your new key.

## Error messages
Expand Down
2 changes: 1 addition & 1 deletion data/release-notes/enterprise-server/3-14/0-rc1.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
date: '2024-08-07'
release_candidate: true
deprecated: false
deprecated: true
intro: |
> [!NOTE] Release candidate (RC) builds are intended solely for use in a test environment. Do not install an RC in a production environment.
>
Expand Down
223 changes: 223 additions & 0 deletions data/release-notes/enterprise-server/3-14/0.yml

Large diffs are not rendered by default.

279 changes: 17 additions & 262 deletions src/audit-logs/data/ghes-3.14/enterprise.json

Large diffs are not rendered by default.

149 changes: 17 additions & 132 deletions src/audit-logs/data/ghes-3.14/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code.search",
"description": "A code search was run targeting an organization. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"docs_reference_links": "/search-github/github-code-search"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down Expand Up @@ -239,11 +234,6 @@
"description": "A knowledge base was updated in the organization.",
"docs_reference_links": "copilot/github-copilot-enterprise/copilot-chat-in-github/managing-copilot-knowledge-bases"
},
{
"action": "copilot.plan_changed",
"description": "The plan for GitHub Copilot was updated.",
"docs_reference_links": "/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot"
},
{
"action": "custom_hosted_runner.create",
"description": "N/A",
Expand Down Expand Up @@ -834,21 +824,6 @@
"description": "A migration file for transferring data from a source location (such as a GitHub.com organization or a GitHub Enterprise Server instance) to a target GitHub Enterprise Server instance was downloaded.",
"docs_reference_links": "N/A"
},
{
"action": "network_configuration.create",
"description": "A network configuration for a hosted compute service was created.",
"docs_reference_links": "/admin/configuration/configuring-private-networking-for-hosted-compute-products/about-networking-for-hosted-compute-products"
},
{
"action": "network_configuration.delete",
"description": "A network configuration for a hosted compute service was deleted.",
"docs_reference_links": "/admin/configuration/configuring-private-networking-for-hosted-compute-products/about-networking-for-hosted-compute-products"
},
{
"action": "network_configuration.update",
"description": "A network configuration for a hosted compute service was updated.",
"docs_reference_links": "/admin/configuration/configuring-private-networking-for-hosted-compute-products/about-networking-for-hosted-compute-products"
},
{
"action": "oauth_application.create",
"description": "An OAuth application was created.",
Expand Down Expand Up @@ -994,16 +969,6 @@
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "org.code_scanning_autofix_disabled",
"description": "Autofix for code scanning alerts was disabled for an organization.",
"docs_reference_links": "N/A"
},
{
"action": "org.code_scanning_autofix_enabled",
"description": "Autofix for code scanning alerts was enabled for an organization.",
"docs_reference_links": "N/A"
},
{
"action": "org.codeql_disabled",
"description": "Code scanning using the default setup was disabled for an organization.",
Expand Down Expand Up @@ -1464,36 +1429,6 @@
"description": "Generic secrets have been enabled at the organization level",
"docs_reference_links": "N/A"
},
{
"action": "org_secret_scanning_non_provider_patterns.disabled",
"description": "Secret scanning for non-provider patterns was disabled at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/secret-scanning-patterns#non-provider-patterns"
},
{
"action": "org_secret_scanning_non_provider_patterns.enabled",
"description": "Secret scanning for non-provider patterns was enabled at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/secret-scanning-patterns#non-provider-patterns"
},
{
"action": "org_secret_scanning_push_protection_bypass_list.add",
"description": "A role or team was added to the push protection bypass list at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "org_secret_scanning_push_protection_bypass_list.disable",
"description": "Push protection settings for \"Users who can bypass push protection for secret scanning\" changed from \"Specific roles or teams\" to \"Anyone with write access\" at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "org_secret_scanning_push_protection_bypass_list.enable",
"description": "Push protection settings for \"Users who can bypass push protection for secret scanning\" changed from \"Anyone with write access\" to \"Specific roles or teams\" at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "org_secret_scanning_push_protection_bypass_list.remove",
"description": "A role or team was removed from the push protection bypass list at the organization level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "org.secret_scanning_push_protection_custom_message_disabled",
"description": "The custom message triggered by an attempted push to a push-protected repository was disabled for an organization.",
Expand Down Expand Up @@ -2270,19 +2205,29 @@
"docs_reference_links": "/rest/code-scanning#delete-a-code-scanning-analysis-from-a-repository"
},
{
"action": "repo.code_scanning_autofix_disabled",
"description": "Autofix for code scanning alerts was disabled for a repository.",
"action": "repo.code_scanning_configuration_for_branch_deleted",
"description": "A code scanning configuration for a branch of a repository was deleted.",
"docs_reference_links": "/code-security/code-scanning/managing-code-scanning-alerts/managing-code-scanning-alerts-for-your-repository#removing-stale-configurations-and-alerts-from-a-branch"
},
{
"action": "repo.code_scanning_third_party_tools_disabled",
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "repo.code_scanning_autofix_enabled",
"description": "Autofix for code scanning alerts was enabled for a repository.",
"action": "repo.code_scanning_third_party_tools_enabled",
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "repo.code_scanning_configuration_for_branch_deleted",
"description": "A code scanning configuration for a branch of a repository was deleted.",
"docs_reference_links": "/code-security/code-scanning/managing-code-scanning-alerts/managing-code-scanning-alerts-for-your-repository#removing-stale-configurations-and-alerts-from-a-branch"
"action": "repo.codeql_advanced_disabled",
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "repo.codeql_advanced_enabled",
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "repo.codeql_disabled",
Expand All @@ -2294,11 +2239,6 @@
"description": "Code scanning using the default setup was enabled for a repository.",
"docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
},
{
"action": "repo.codeql_updated",
"description": "Code scanning using the default setup was updated for a repository.",
"docs_reference_links": "/code-security/code-scanning/enabling-code-scanning/configuring-default-setup-for-code-scanning"
},
{
"action": "repo.codespaces_trusted_repo_access_granted",
"description": "GitHub Codespaces was granted trusted repository access to this repository.",
Expand Down Expand Up @@ -2769,36 +2709,6 @@
"description": "Generic secrets have been enabled at the repository level",
"docs_reference_links": "N/A"
},
{
"action": "repository_secret_scanning_non_provider_patterns.disabled",
"description": "Secret scanning for non-provider patterns was disabled at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/secret-scanning-patterns#non-provider-patterns"
},
{
"action": "repository_secret_scanning_non_provider_patterns.enabled",
"description": "Secret scanning for non-provider patterns was enabled at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/secret-scanning-patterns#non-provider-patterns"
},
{
"action": "repository_secret_scanning_push_protection_bypass_list.add",
"description": "A role or team was added to the push protection bypass list at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "repository_secret_scanning_push_protection_bypass_list.disable",
"description": "Push protection settings for \"Users who can bypass push protection for secret scanning\" changed from \"Specific roles or teams\" to \"Anyone with write access\" at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "repository_secret_scanning_push_protection_bypass_list.enable",
"description": "Push protection settings for \"Users who can bypass push protection for secret scanning\" changed from \"Anyone with write access\" to \"Specific roles or teams\" at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "repository_secret_scanning_push_protection_bypass_list.remove",
"description": "A role or team was removed from the push protection bypass list at the repository level.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#enabling-delegated-bypass-for-push-protection"
},
{
"action": "repository_secret_scanning_push_protection.disable",
"description": "Secret scanning push protection was disabled for a repository.",
Expand Down Expand Up @@ -2969,21 +2879,6 @@
"description": "Triggered when a user bypasses the push protection on a secret detected by secret scanning.",
"docs_reference_links": "/code-security/secret-scanning/protecting-pushes-with-secret-scanning#bypassing-push-protection-for-a-secret"
},
{
"action": "secret_scanning_push_protection_request.approve",
"description": "A request to bypass secret scanning push protection was approved by a user.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#managing-requests-to-bypass-push-protection"
},
{
"action": "secret_scanning_push_protection_request.deny",
"description": "A request to bypass secret scanning push protection was denied by a user.",
"docs_reference_links": "/code-security/secret-scanning/push-protection-for-repositories-and-organizations#managing-requests-to-bypass-push-protection"
},
{
"action": "secret_scanning_push_protection_request.request",
"description": "A user requested to bypass secret scanning push protection.",
"docs_reference_links": "/code-security/secret-scanning/working-with-push-protection#requesting-bypass-privileges-when-working-with-the-command-line"
},
{
"action": "sponsors.agreement_sign",
"description": "A GitHub Sponsors agreement was signed on behalf of an organization.",
Expand Down Expand Up @@ -3319,11 +3214,6 @@
"description": "A workflow was enabled, after previously being disabled by disable_workflow.",
"docs_reference_links": "N/A"
},
{
"action": "workflows.pin_workflow",
"description": "A workflow was pinned.",
"docs_reference_links": "N/A"
},
{
"action": "workflows.prepared_workflow_job",
"description": "A workflow job was started. Includes the list of secrets that were provided to the job. This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
Expand All @@ -3338,10 +3228,5 @@
"action": "workflows.rerun_workflow_run",
"description": "A workflow run was re-run.",
"docs_reference_links": "/actions/managing-workflow-runs/re-running-workflows-and-jobs"
},
{
"action": "workflows.unpin_workflow",
"description": "A workflow was unpinned after previously being pinned.",
"docs_reference_links": "N/A"
}
]
20 changes: 0 additions & 20 deletions src/audit-logs/data/ghes-3.14/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -1639,16 +1639,6 @@
"description": "N/A",
"docs_reference_links": "N/A"
},
{
"action": "user_email.confirm_claim",
"description": "An enterprise managed user claimed an email address.",
"docs_reference_links": "N/A"
},
{
"action": "user_email.mark_as_unclaimed",
"description": "N/A",
"docs_reference_links": "An enterprise managed user unclaimed an email address."
},
{
"action": "user.enable_collaborators_only",
"description": "N/A",
Expand Down Expand Up @@ -1854,19 +1844,9 @@
"description": "A workflow was enabled, after previously being disabled by disable_workflow.",
"docs_reference_links": "N/A"
},
{
"action": "workflows.pin_workflow",
"description": "A workflow was pinned.",
"docs_reference_links": "N/A"
},
{
"action": "workflows.reject_workflow_job",
"description": "A workflow job was rejected.",
"docs_reference_links": "/actions/managing-workflow-runs/reviewing-deployments"
},
{
"action": "workflows.unpin_workflow",
"description": "A workflow was unpinned after previously being pinned.",
"docs_reference_links": "N/A"
}
]
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"apiRequestEvent": "This event is only available via audit log streaming."
},
"sha": "48d93f096c9b24362268913446e70d6b984ac658"
"sha": "c71e46fe140dc7b1f1ebaad92471dd1abc1942e9"
}
8 changes: 4 additions & 4 deletions src/content-linter/scripts/pretty-print-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ export function prettyPrintResults(results, { fixed = false } = {}) {
ruleNames,
chalk.dim(indentWrappedString(result.ruleDescription, ruleNames.length)),
)
if (!distinctDetails) {
if (!distinctDetails && result.errorDetail) {
console.log(
label('Detail'),
`${indentWrappedString(result.errorDetail?.replace(/\n/g, ' ').trim(), PREFIX_PADDING.length * 8)}`,
`${indentWrappedString(result.errorDetail.replace(/\n/g, ' ').trim(), PREFIX_PADDING.length * 8)}`,
)
}

Expand All @@ -93,11 +93,11 @@ export function prettyPrintResults(results, { fixed = false } = {}) {
if (isNumber(result.columnNumber) && result.columnNumber !== 1) {
position += ` (col ${chalk.yellow(result.columnNumber)})`
}
if (distinctDetails) {
if (distinctDetails && result.errorDetail) {
console.log(
label('Detail'),
indentWrappedString(
result.errorDetail?.replace(/\n/g, ' ').trim(),
result.errorDetail.replace(/\n/g, ' ').trim(),
PREFIX_PADDING.length * 8,
),
)
Expand Down
2 changes: 1 addition & 1 deletion src/versions/lib/enterprise-server-releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const nextNext = '3.16'
export const supported = ['3.14', '3.13', '3.12', '3.11', '3.10']

// Edit this to `null` when it's no longer the release candidate
export const releaseCandidate = '3.14'
export const releaseCandidate = null

// Ensure that:
// "next" is ahead of "latest" by one minor or major release.
Expand Down

0 comments on commit f185d1f

Please sign in to comment.