Skip to content

Commit

Permalink
Merge pull request #35569 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Dec 6, 2024
2 parents 4e301d0 + b52923e commit ab1e238
Show file tree
Hide file tree
Showing 10 changed files with 178 additions and 17 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/codeowners-legal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# Picking this number is a "best guess". If we make it too large,
# the checkout will take potentially unnecessarily long.
# the checkout will take potentially unnecessariily long.
# This reduces the chance that tj-actions/changed-files has to
# fetch deeper history. But if it needs to, it will.
fetch-depth: 10
Expand All @@ -58,14 +58,19 @@ jobs:
CHANGED_FILE_PATHS: ${{ steps.changed-files.outputs.all_changed_files }}
CONTENT_TYPE: 'rai'

- name: Check for reviewers-legal label, add if missing and request review
- name: Add Legal team as a reviewer
if: steps.checkContentType.outputs.containsContentType == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The GH CLI uses a slightly different env name for
# the token than the GITHUB_TOKEN used by actions
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
PR: ${{ github.event.pull_request.html_url }}
run: |
labels=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels[].name')
if ! echo "$labels" | grep -q 'reviewers-legal'; then
has_reviewer=$(
gh pr view $PR --json reviews |
jq 'any(.reviews[]; select(length > 0))'
)
if ! $has_reviewer
then
gh pr edit $PR --add-reviewer github/legal-product
gh pr edit $PR --add-label reviewers-legal
fi
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The {% data variables.product.prodname_ghe_server %} appliance will send HTTP St

{% data reusables.enterprise_installation.terminating-tls %}

To allow users to use FIDO U2F for two-factor authentication, you must enable TLS for your instance. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."
To allow users to use FIDO U2F for two-factor authentication or deploy {% data variables.product.prodname_pages %} sites with {% data variables.product.prodname_actions %}, you must enable TLS for your instance. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication)."

## Prerequisites

Expand Down
22 changes: 14 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
"dayjs": "^1.11.3",
"dotenv": "^16.4.5",
"escape-string-regexp": "5.0.0",
"express": "4.21.1",
"express": "4.21.2",
"express-rate-limit": "7.4.0",
"fastest-levenshtein": "1.0.16",
"file-type": "19.6.0",
Expand Down
30 changes: 30 additions & 0 deletions src/audit-logs/data/fpt/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,36 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code_scanning.alert_appeared_in_branch",
"description": "An existing code scanning alert appeared in a branch.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_became_fixed",
"description": "A code scanning alert was fixed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_by_user",
"description": "A code scanning alert was manually dismissed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_created",
"description": "A code scanning alert was seen for the first time.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reappeared",
"description": "A code scanning alert that was previously fixed reappeared.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reopened_by_user",
"description": "A code scanning alert that was previously dismissed was reopened.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down
30 changes: 30 additions & 0 deletions src/audit-logs/data/ghec/enterprise.json
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,36 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code_scanning.alert_appeared_in_branch",
"description": "An existing code scanning alert appeared in a branch.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_became_fixed",
"description": "A code scanning alert was fixed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_by_user",
"description": "A code scanning alert was manually dismissed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_created",
"description": "A code scanning alert was seen for the first time.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reappeared",
"description": "A code scanning alert that was previously fixed reappeared.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reopened_by_user",
"description": "A code scanning alert that was previously dismissed was reopened.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"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.",
Expand Down
30 changes: 30 additions & 0 deletions src/audit-logs/data/ghec/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,36 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code_scanning.alert_appeared_in_branch",
"description": "An existing code scanning alert appeared in a branch.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_became_fixed",
"description": "A code scanning alert was fixed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_by_user",
"description": "A code scanning alert was manually dismissed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_created",
"description": "A code scanning alert was seen for the first time.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reappeared",
"description": "A code scanning alert that was previously fixed reappeared.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reopened_by_user",
"description": "A code scanning alert that was previously dismissed was reopened.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down
30 changes: 30 additions & 0 deletions src/audit-logs/data/ghes-3.16/enterprise.json
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,36 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code_scanning.alert_appeared_in_branch",
"description": "An existing code scanning alert appeared in a branch.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_became_fixed",
"description": "A code scanning alert was fixed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_by_user",
"description": "A code scanning alert was manually dismissed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_created",
"description": "A code scanning alert was seen for the first time.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reappeared",
"description": "A code scanning alert that was previously fixed reappeared.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reopened_by_user",
"description": "A code scanning alert that was previously dismissed was reopened.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"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.",
Expand Down
30 changes: 30 additions & 0 deletions src/audit-logs/data/ghes-3.16/organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,36 @@
"description": "Logs in a check suite were deleted.",
"docs_reference_links": "N/A"
},
{
"action": "code_scanning.alert_appeared_in_branch",
"description": "An existing code scanning alert appeared in a branch.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_became_fixed",
"description": "A code scanning alert was fixed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_closed_by_user",
"description": "A code scanning alert was manually dismissed.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_created",
"description": "A code scanning alert was seen for the first time.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reappeared",
"description": "A code scanning alert that was previously fixed reappeared.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "code_scanning.alert_reopened_by_user",
"description": "A code scanning alert that was previously dismissed was reopened.",
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
},
{
"action": "codespaces.allow_permissions",
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",
Expand Down
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": "7f0e0de9c0e5e07eb0280027a0e0ad583a5b0366"
"sha": "bd38c2b75ce822ad1034d23e80cb9c5e7266bc9a"
}

0 comments on commit ab1e238

Please sign in to comment.