Skip to content

Commit 6d6ba7f

Browse files
authored
Merge branch 'main' into repo-sync
2 parents 04f9e9e + f6ec000 commit 6d6ba7f

File tree

27 files changed

+1337553
-858312
lines changed

27 files changed

+1337553
-858312
lines changed

.github/actions-scripts/get-preview-app-info.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
[[ -z $APP_NAME_SEED ]] && { echo "Missing APP_NAME_SEED. Exiting."; exit 1; }
1414

1515
PREVIEW_ENV_LOCATION="eastus"
16-
echo "PREVIEW_ENV_LOCATION=${PREVIEW_ENV_LOCATION}" >> $GITHUB_ENV
1716

1817
REPO_NAME="${GITHUB_REPOSITORY#*\/}"
1918
echo "REPO_NAME=${REPO_NAME}" >> $GITHUB_ENV
@@ -22,15 +21,14 @@ DEPLOYMENT_NAME="${REPO_NAME}-pr-${PR_NUMBER}"
2221
echo "DEPLOYMENT_NAME=${DEPLOYMENT_NAME}" >> $GITHUB_ENV
2322

2423
APP_NAME_BASE="${REPO_NAME}-preview-${PR_NUMBER}"
25-
echo "APP_NAME_BASE=${APP_NAME_BASE}" >> $GITHUB_ENV
2624

2725
# pseudo random string so guessing a preview env URL is more difficult
2826
APP_SHA=$(echo -n "${APP_NAME_SEED}-${APP_NAME_BASE}" | sha1sum | cut -c1-6)
2927

3028
APP_NAME="${APP_NAME_BASE}-${APP_SHA}"
3129
echo "APP_NAME=${APP_NAME}" >> $GITHUB_ENV
3230

33-
APP_URL="https://${APP_NAME}.${PREVIEW_ENV_LOCATION}.azurecontainer.io"
31+
APP_URL="https://${REPO_NAME}-${PR_NUMBER}-${APP_SHA}.preview.ghdocs.com"
3432
echo "APP_URL=${APP_URL}" >> $GITHUB_ENV
3533

3634
IMAGE_REPO="${GITHUB_REPOSITORY}/pr-${PR_NUMBER}"

.github/workflows/azure-preview-env-deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,10 @@ jobs:
203203
template: ./azure-preview-env-template.json
204204
deploymentName: ${{ env.DEPLOYMENT_NAME }}
205205
parameters: appName="${{ env.APP_NAME }}"
206-
location="${{ env.PREVIEW_ENV_LOCATION }}"
207206
containerImage="${{ env.DOCKER_IMAGE }}"
208207
dockerRegistryUrl="${{ secrets.NONPROD_REGISTRY_SERVER }}"
209208
dockerRegistryUsername="${{ secrets.NONPROD_REGISTRY_USERNAME }}"
210209
dockerRegistryPassword="${{ secrets.NONPROD_REGISTRY_PASSWORD }}"
211-
storageAccountName="${{ secrets.AZURE_STORAGE_ACCOUNT_NAME }}"
212-
storageAccountKey="${{ secrets.AZURE_STORAGE_ACCOUNT_KEY }}"
213210
# this shows warnings in the github actions console, because the flag is passed through a validation run,
214211
# but it *is* functional during the actual execution
215212
additionalArguments: --no-wait
22.9 KB
Loading

azure-preview-env-template.json

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
"description": "A unique name for the app"
1212
}
1313
},
14-
"location": {
15-
"type": "String"
16-
},
1714
"containerImage": {
1815
"type": "string",
1916
"defaultValue": null,
@@ -32,12 +29,6 @@
3229
},
3330
"dockerRegistryPassword": {
3431
"type": "SecureString"
35-
},
36-
"storageAccountName": {
37-
"type": "String"
38-
},
39-
"storageAccountKey": {
40-
"type": "SecureString"
4132
}
4233
},
4334
"resources": [
@@ -83,53 +74,6 @@
8374
}
8475
}
8576
}
86-
},
87-
{
88-
"name": "caddy-ssl-server",
89-
"properties": {
90-
"image": "caddy:2.4.6",
91-
"command": [
92-
"caddy",
93-
"reverse-proxy",
94-
"--from",
95-
"[concat(parameters('appName'), '.', parameters('location'), '.azurecontainer.io')]",
96-
"--to",
97-
"localhost:4000"
98-
],
99-
"ports": [
100-
{
101-
"protocol": "TCP",
102-
"port": 443
103-
},
104-
{
105-
"protocol": "TCP",
106-
"port": 80
107-
}
108-
],
109-
"environmentVariables": [],
110-
"resources": {
111-
"requests": {
112-
"memoryInGB": 1,
113-
"cpu": 1
114-
}
115-
},
116-
"volumeMounts": [
117-
{
118-
"name": "caddy-data",
119-
"mountPath": "/data"
120-
}
121-
]
122-
}
123-
}
124-
],
125-
"volumes": [
126-
{
127-
"name": "caddy-data",
128-
"azureFile": {
129-
"shareName": "caddy",
130-
"storageAccountName": "[parameters('storageAccountName')]",
131-
"storageAccountKey": "[parameters('storageAccountKey')]"
132-
}
13377
}
13478
],
13579
"imageRegistryCredentials": [
@@ -142,17 +86,9 @@
14286
"restartPolicy": "Always",
14387
"ipAddress": {
14488
"ports": [
145-
{
146-
"protocol": "TCP",
147-
"port": 443
148-
},
14989
{
15090
"protocol": "TCP",
15191
"port": 4000
152-
},
153-
{
154-
"protocol": "TCP",
155-
"port": 80
15692
}
15793
],
15894
"type": "Public",

content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/about-your-personal-dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You'll see updates in your news feed when a user you follow:
6565
- Forks a public repository.{% endif %}
6666
- Publishes a new release.
6767

68-
For more information about starring repositories and following people, see "[Following people](/articles/following-people)" and "[Be social](/get-started/quickstart/be-social)."
68+
For more information about following people and watching repositories, see "[Following people](/get-started/exploring-projects-on-github/following-people)" and "[Be social](/get-started/quickstart/be-social)."
6969

7070
{% if for-you-feed %}
7171
### For you feed

content/get-started/privacy-on-github/about-githubs-use-of-your-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ shortTitle: GitHub's use of your data
1616

1717
## About {% data variables.product.product_name %}'s use of your data
1818

19-
{% data variables.product.product_name %} aggregates metadata and parses content patterns for the purposes of delivering generalized insights within the product. It uses data from public repositories, and also uses metadata and aggregate data from private repositories when a repository's owner has chosen to share the data with {% data variables.product.product_name %} through an opt-in. If you opt a private repository into data use, then it will perform read-only analysis of that specific private repository.
19+
{% data variables.product.product_name %} aggregates metadata and parses content patterns for the purposes of delivering generalized insights within the product. It uses data from public repositories, and also uses metadata and aggregate data from private repositories when a repository's owner has chosen to share the data with {% data variables.product.product_name %} by enabling the dependency graph. If you enable the dependency graph for a private repository, then {% data variables.product.product_name %} will perform read-only analysis of that specific private repository.
20+
21+
If you enable data use for a private repository, we will continue to treat your private data, source code, or trade secrets as confidential and private consistent with our [Terms of Service](/free-pro-team@latest/github/site-policy/github-terms-of-service). The information we learn only comes from aggregated data. For more information, see "[Managing data use settings for your private repository](/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository)."
2022

2123
{% data reusables.repositories.about-github-archive-program %} For more information, see "[About archiving content and data on {% data variables.product.prodname_dotcom %}](/github/creating-cloning-and-archiving-repositories/about-archiving-content-and-data-on-github#about-the-github-archive-program)."
2224

2325
{% data reusables.user-settings.export-data %} For more information, see "[Requesting an archive of your personal account's data](/articles/requesting-an-archive-of-your-personal-account-s-data)."
2426

25-
If you opt in to data use for a private repository, we will continue to treat your private data, source code, or trade secrets as confidential and private consistent with our [Terms of Service](/free-pro-team@latest/github/site-policy/github-terms-of-service). The information we learn only comes from aggregated data. For more information, see "[Managing data use settings for your private repository](/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository)."
26-
2727
We'll announce substantial new features that use metadata or aggregate data on the [{% data variables.product.prodname_dotcom %} blog](https://github.com/blog).
2828

2929
## How data improves security recommendations

content/get-started/privacy-on-github/managing-data-use-settings-for-your-private-repository.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,22 @@ shortTitle: Manage data use for private repo
1616

1717
## About data use for your private repository
1818

19+
20+
You can control data use for your private repository with the security and analysis features.
21+
22+
- Enable the dependency graph to allow read-only data analysis on your repository.
23+
- Disable the dependency graph to block read-only data analysis of your repository.
24+
1925
When you enable data use for your private repository, you'll be able to access the dependency graph, where you can track your repository's dependencies and receive {% data variables.product.prodname_dependabot_alerts %} when {% data variables.product.product_name %} detects vulnerable dependencies. For more information, see "[About {% data variables.product.prodname_dependabot_alerts %}](/github/managing-security-vulnerabilities/about-alerts-for-vulnerable-dependencies#dependabot-alerts-for-vulnerable-dependencies)."
2026

21-
## Enabling or disabling data use features
27+
28+
{% note %}
29+
30+
**Note:** If you disable the dependency graph, {% data variables.product.prodname_dependabot_alerts %} and {% data variables.product.prodname_dependabot_security_updates %} are also disabled. For more information, see "[About the dependency graph](/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph)."
31+
32+
{% endnote %}
33+
34+
## Enabling or disabling data use through security and analysis features
2235

2336
{% data reusables.security.security-and-analysis-features-enable-read-only %}
2437

content/site-policy/acceptable-use-policies/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ topics:
66
- Policy
77
- Legal
88
children:
9-
- github-sexually-obscene-content
9+
- github-acceptable-use-policies
10+
- github-active-malware-or-exploits
11+
- github-bullying-and-harassment
1012
- github-disrupting-the-experience-of-other-users
1113
- github-doxxing-and-invasion-of-privacy
1214
- github-hate-speech-and-discrimination
13-
- github-acceptable-use-policies
14-
- github-bullying-and-harassment
15-
- github-active-malware-or-exploits
16-
- github-threats-of-violence-and-gratuitously-violent-content
1715
- github-impersonation
1816
- github-misinformation-and-disinformation
17+
- github-sexually-obscene-content
18+
- github-threats-of-violence-and-gratuitously-violent-content
1919
- github-appeal-and-reinstatement
2020
---

content/site-policy/content-removal-policies/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ topics:
77
- Legal
88
children:
99
- /submitting-content-removal-requests
10+
- /dmca-takedown-policy
1011
- /github-private-information-removal-policy
1112
- /github-trademark-policy
1213
- /guide-to-submitting-a-dmca-counter-notice
1314
- /guide-to-submitting-a-dmca-takedown-notice
14-
- /dmca-takedown-policy
1515
---
1616

content/site-policy/github-terms/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ topics:
66
- Policy
77
- Legal
88
children:
9+
- /github-terms-of-service
910
- /github-corporate-terms-of-service
10-
- /github-community-forum-code-of-conduct
11+
- /github-terms-for-additional-products-and-features
1112
- /github-community-guidelines
12-
- /github-terms-of-service
13+
- /github-community-forum-code-of-conduct
1314
- /github-sponsors-additional-terms
14-
- /github-terms-for-additional-products-and-features
1515
- /github-registered-developer-agreement
1616
- /github-marketplace-terms-of-service
1717
- /github-marketplace-developer-agreement

0 commit comments

Comments
 (0)