Skip to content

Commit ab1e238

Browse files
authored
Merge pull request #35569 from github/repo-sync
Repo sync
2 parents 4e301d0 + b52923e commit ab1e238

File tree

10 files changed

+178
-17
lines changed

10 files changed

+178
-17
lines changed

.github/workflows/codeowners-legal.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
3434
with:
3535
# Picking this number is a "best guess". If we make it too large,
36-
# the checkout will take potentially unnecessarily long.
36+
# the checkout will take potentially unnecessariily long.
3737
# This reduces the chance that tj-actions/changed-files has to
3838
# fetch deeper history. But if it needs to, it will.
3939
fetch-depth: 10
@@ -58,14 +58,19 @@ jobs:
5858
CHANGED_FILE_PATHS: ${{ steps.changed-files.outputs.all_changed_files }}
5959
CONTENT_TYPE: 'rai'
6060

61-
- name: Check for reviewers-legal label, add if missing and request review
61+
- name: Add Legal team as a reviewer
6262
if: steps.checkContentType.outputs.containsContentType == 'true'
6363
env:
64-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64+
# The GH CLI uses a slightly different env name for
65+
# the token than the GITHUB_TOKEN used by actions
66+
GH_TOKEN: ${{ secrets.DOCS_BOT_PAT_WRITEORG_PROJECT }}
6567
PR: ${{ github.event.pull_request.html_url }}
6668
run: |
67-
labels=$(gh pr view ${{ github.event.pull_request.number }} --json labels --jq '.labels[].name')
68-
if ! echo "$labels" | grep -q 'reviewers-legal'; then
69+
has_reviewer=$(
70+
gh pr view $PR --json reviews |
71+
jq 'any(.reviews[]; select(length > 0))'
72+
)
73+
if ! $has_reviewer
74+
then
6975
gh pr edit $PR --add-reviewer github/legal-product
70-
gh pr edit $PR --add-label reviewers-legal
7176
fi

content/admin/configuring-settings/hardening-security-for-your-enterprise/configuring-tls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The {% data variables.product.prodname_ghe_server %} appliance will send HTTP St
2727

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

30-
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)."
30+
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)."
3131

3232
## Prerequisites
3333

package-lock.json

Lines changed: 14 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271
"dayjs": "^1.11.3",
272272
"dotenv": "^16.4.5",
273273
"escape-string-regexp": "5.0.0",
274-
"express": "4.21.1",
274+
"express": "4.21.2",
275275
"express-rate-limit": "7.4.0",
276276
"fastest-levenshtein": "1.0.16",
277277
"file-type": "19.6.0",

src/audit-logs/data/fpt/organization.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,36 @@
8484
"description": "Logs in a check suite were deleted.",
8585
"docs_reference_links": "N/A"
8686
},
87+
{
88+
"action": "code_scanning.alert_appeared_in_branch",
89+
"description": "An existing code scanning alert appeared in a branch.",
90+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
91+
},
92+
{
93+
"action": "code_scanning.alert_closed_became_fixed",
94+
"description": "A code scanning alert was fixed.",
95+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
96+
},
97+
{
98+
"action": "code_scanning.alert_closed_by_user",
99+
"description": "A code scanning alert was manually dismissed.",
100+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
101+
},
102+
{
103+
"action": "code_scanning.alert_created",
104+
"description": "A code scanning alert was seen for the first time.",
105+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
106+
},
107+
{
108+
"action": "code_scanning.alert_reappeared",
109+
"description": "A code scanning alert that was previously fixed reappeared.",
110+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
111+
},
112+
{
113+
"action": "code_scanning.alert_reopened_by_user",
114+
"description": "A code scanning alert that was previously dismissed was reopened.",
115+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
116+
},
87117
{
88118
"action": "codespaces.allow_permissions",
89119
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",

src/audit-logs/data/ghec/enterprise.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,36 @@
679679
"description": "Logs in a check suite were deleted.",
680680
"docs_reference_links": "N/A"
681681
},
682+
{
683+
"action": "code_scanning.alert_appeared_in_branch",
684+
"description": "An existing code scanning alert appeared in a branch.",
685+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
686+
},
687+
{
688+
"action": "code_scanning.alert_closed_became_fixed",
689+
"description": "A code scanning alert was fixed.",
690+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
691+
},
692+
{
693+
"action": "code_scanning.alert_closed_by_user",
694+
"description": "A code scanning alert was manually dismissed.",
695+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
696+
},
697+
{
698+
"action": "code_scanning.alert_created",
699+
"description": "A code scanning alert was seen for the first time.",
700+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
701+
},
702+
{
703+
"action": "code_scanning.alert_reappeared",
704+
"description": "A code scanning alert that was previously fixed reappeared.",
705+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
706+
},
707+
{
708+
"action": "code_scanning.alert_reopened_by_user",
709+
"description": "A code scanning alert that was previously dismissed was reopened.",
710+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
711+
},
682712
{
683713
"action": "code.search",
684714
"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.",

src/audit-logs/data/ghec/organization.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,36 @@
8484
"description": "Logs in a check suite were deleted.",
8585
"docs_reference_links": "N/A"
8686
},
87+
{
88+
"action": "code_scanning.alert_appeared_in_branch",
89+
"description": "An existing code scanning alert appeared in a branch.",
90+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
91+
},
92+
{
93+
"action": "code_scanning.alert_closed_became_fixed",
94+
"description": "A code scanning alert was fixed.",
95+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
96+
},
97+
{
98+
"action": "code_scanning.alert_closed_by_user",
99+
"description": "A code scanning alert was manually dismissed.",
100+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
101+
},
102+
{
103+
"action": "code_scanning.alert_created",
104+
"description": "A code scanning alert was seen for the first time.",
105+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
106+
},
107+
{
108+
"action": "code_scanning.alert_reappeared",
109+
"description": "A code scanning alert that was previously fixed reappeared.",
110+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
111+
},
112+
{
113+
"action": "code_scanning.alert_reopened_by_user",
114+
"description": "A code scanning alert that was previously dismissed was reopened.",
115+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
116+
},
87117
{
88118
"action": "codespaces.allow_permissions",
89119
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",

src/audit-logs/data/ghes-3.16/enterprise.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,36 @@
454454
"description": "Logs in a check suite were deleted.",
455455
"docs_reference_links": "N/A"
456456
},
457+
{
458+
"action": "code_scanning.alert_appeared_in_branch",
459+
"description": "An existing code scanning alert appeared in a branch.",
460+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
461+
},
462+
{
463+
"action": "code_scanning.alert_closed_became_fixed",
464+
"description": "A code scanning alert was fixed.",
465+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
466+
},
467+
{
468+
"action": "code_scanning.alert_closed_by_user",
469+
"description": "A code scanning alert was manually dismissed.",
470+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
471+
},
472+
{
473+
"action": "code_scanning.alert_created",
474+
"description": "A code scanning alert was seen for the first time.",
475+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
476+
},
477+
{
478+
"action": "code_scanning.alert_reappeared",
479+
"description": "A code scanning alert that was previously fixed reappeared.",
480+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
481+
},
482+
{
483+
"action": "code_scanning.alert_reopened_by_user",
484+
"description": "A code scanning alert that was previously dismissed was reopened.",
485+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
486+
},
457487
{
458488
"action": "code.search",
459489
"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.",

src/audit-logs/data/ghes-3.16/organization.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,36 @@
8484
"description": "Logs in a check suite were deleted.",
8585
"docs_reference_links": "N/A"
8686
},
87+
{
88+
"action": "code_scanning.alert_appeared_in_branch",
89+
"description": "An existing code scanning alert appeared in a branch.",
90+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
91+
},
92+
{
93+
"action": "code_scanning.alert_closed_became_fixed",
94+
"description": "A code scanning alert was fixed.",
95+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
96+
},
97+
{
98+
"action": "code_scanning.alert_closed_by_user",
99+
"description": "A code scanning alert was manually dismissed.",
100+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
101+
},
102+
{
103+
"action": "code_scanning.alert_created",
104+
"description": "A code scanning alert was seen for the first time.",
105+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
106+
},
107+
{
108+
"action": "code_scanning.alert_reappeared",
109+
"description": "A code scanning alert that was previously fixed reappeared.",
110+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
111+
},
112+
{
113+
"action": "code_scanning.alert_reopened_by_user",
114+
"description": "A code scanning alert that was previously dismissed was reopened.",
115+
"docs_reference_links": "/code-security/code-scanning/introduction-to-code-scanning/about-code-scanning"
116+
},
87117
{
88118
"action": "codespaces.allow_permissions",
89119
"description": "A codespace using custom permissions from its devcontainer.json file was launched.",

src/audit-logs/lib/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
44
"apiRequestEvent": "This event is only available via audit log streaming."
55
},
6-
"sha": "7f0e0de9c0e5e07eb0280027a0e0ad583a5b0366"
6+
"sha": "bd38c2b75ce822ad1034d23e80cb9c5e7266bc9a"
77
}

0 commit comments

Comments
 (0)