Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repo sync #16442

Merged
merged 48 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
a28305c
Updated language to reference enabling instead of opt-in
dihydroJenoxide Mar 17, 2022
52f7399
Optimize images
invalid-email-address Mar 17, 2022
e357b29
Merge branch 'main' into dihydrojen-4
dihydroJenoxide Mar 17, 2022
9385fcb
fixing broken link
dihydroJenoxide Mar 17, 2022
05d9ac5
Merge branch 'main' into dihydrojen-4
dihydroJenoxide Mar 17, 2022
8929c8c
Update content/get-started/privacy-on-github/about-githubs-use-of-you…
dihydroJenoxide Mar 21, 2022
219d719
Update content/get-started/privacy-on-github/managing-data-use-settin…
dihydroJenoxide Mar 22, 2022
cc96a78
Update content/get-started/privacy-on-github/managing-data-use-settin…
dihydroJenoxide Mar 22, 2022
3e35338
Merge branch 'main' into dihydrojen-4
dihydroJenoxide Mar 22, 2022
dea9e17
Merge pull request #26278 from github/dihydrojen-4
dihydroJenoxide Mar 22, 2022
e591ffe
Openapi update api.github.com (#26398)
rachmari Mar 22, 2022
dfe1692
Openapi 3.0 ghae (#26400)
rachmari Mar 22, 2022
e7c0463
Update OpenAPI Descriptions (#26397)
github-openapi-bot Mar 22, 2022
e177d70
Fix a change missed in a last minute update (#26389)
felicitymay Mar 22, 2022
a37f715
change order of some site-policy docs (#26307)
vollmera Mar 22, 2022
033f1fd
Merge branch 'main' into repo-sync
Octomerger Mar 22, 2022
80dd1c4
Merge pull request #26419 from github/repo-sync
Octomerger Mar 22, 2022
d68a2ee
Merge branch 'main' into repo-sync
Octomerger Mar 22, 2022
2fb0764
Merge pull request #26422 from github/repo-sync
Octomerger Mar 22, 2022
1ca669b
Create codespace.md
hubwriter Mar 22, 2022
1c10cf3
Merge branch 'main' into repo-sync
Octomerger Mar 22, 2022
bc2df17
Update README.md
hubwriter Mar 22, 2022
d58d577
Merge branch 'main' into repo-sync
docubot Mar 22, 2022
5d768e5
Update README.md
hubwriter Mar 22, 2022
a37127f
Update codespace.md
hubwriter Mar 22, 2022
c1da45f
Merge branch 'main' into repo-sync
docubot Mar 22, 2022
6ccb192
Update codespace.md
hubwriter Mar 22, 2022
32a8cf9
Merge branch 'main' into repo-sync
docubot Mar 22, 2022
8571dd7
Update codespace.md
hubwriter Mar 22, 2022
889aa27
Update codespace.md
hubwriter Mar 22, 2022
958abde
Merge branch 'main' into repo-sync
docubot Mar 22, 2022
21e276d
Merge pull request #26425 from github/repo-sync
Octomerger Mar 22, 2022
98daee0
Update OpenAPI Descriptions
github-openapi-bot Mar 22, 2022
250f63f
Merge branch 'main' into repo-sync
Octomerger Mar 22, 2022
669c66a
Merge pull request #26426 from github/repo-sync
Octomerger Mar 22, 2022
ed5362d
update preview env app_url to preview.ghdocs.com (#26335)
mikesurowiec Mar 22, 2022
2b66677
Fix flag (#26420)
mattpollard Mar 22, 2022
d92a0f2
Update codespace.md
hubwriter Mar 22, 2022
95d2d58
Update codespace.md
hubwriter Mar 22, 2022
4bac41a
Update codespace.md
hubwriter Mar 22, 2022
f6ec000
Remove Caddy from preview envs (#26336)
mikesurowiec Mar 22, 2022
6d6ba7f
Merge branch 'main' into repo-sync
Octomerger Mar 22, 2022
38c5724
Merge pull request #26428 from github/repo-sync
Octomerger Mar 22, 2022
ba3d251
Add `Ignore commits in the blame view` to blame docs (#26017)
JasonEtco Mar 22, 2022
a77a26a
Connect addendum deprecation (#26296)
birust Mar 22, 2022
3dd57f4
temporarily commented out
peterbe Mar 22, 2022
b89e458
also comment out
peterbe Mar 22, 2022
7f55632
also comment out
peterbe Mar 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You'll see updates in your news feed when a user you follow:
- Forks a public repository.{% endif %}
- Publishes a new release.

For more information about starring repositories and following people, see "[Following people](/articles/following-people)" and "[Be social](/get-started/quickstart/be-social)."
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)."

{% if for-you-feed %}
### For you feed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ shortTitle: GitHub's use of your data

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

{% 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.
{% 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.

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)."

{% 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)."

{% 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)."

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)."

We'll announce substantial new features that use metadata or aggregate data on the [{% data variables.product.prodname_dotcom %} blog](https://github.com/blog).

## How data improves security recommendations
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,22 @@ shortTitle: Manage data use for private repo

## About data use for your private repository


You can control data use for your private repository with the security and analysis features.

- Enable the dependency graph to allow read-only data analysis on your repository.
- Disable the dependency graph to block read-only data analysis of your repository.

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)."

## Enabling or disabling data use features

{% note %}

**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)."

{% endnote %}

## Enabling or disabling data use through security and analysis features

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

Expand Down
10 changes: 5 additions & 5 deletions content/site-policy/acceptable-use-policies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ topics:
- Policy
- Legal
children:
- github-sexually-obscene-content
- github-acceptable-use-policies
- github-active-malware-or-exploits
- github-bullying-and-harassment
- github-disrupting-the-experience-of-other-users
- github-doxxing-and-invasion-of-privacy
- github-hate-speech-and-discrimination
- github-acceptable-use-policies
- github-bullying-and-harassment
- github-active-malware-or-exploits
- github-threats-of-violence-and-gratuitously-violent-content
- github-impersonation
- github-misinformation-and-disinformation
- github-sexually-obscene-content
- github-threats-of-violence-and-gratuitously-violent-content
- github-appeal-and-reinstatement
---
2 changes: 1 addition & 1 deletion content/site-policy/content-removal-policies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ topics:
- Legal
children:
- /submitting-content-removal-requests
- /dmca-takedown-policy
- /github-private-information-removal-policy
- /github-trademark-policy
- /guide-to-submitting-a-dmca-counter-notice
- /guide-to-submitting-a-dmca-takedown-notice
- /dmca-takedown-policy
---

6 changes: 3 additions & 3 deletions content/site-policy/github-terms/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ topics:
- Policy
- Legal
children:
- /github-terms-of-service
- /github-corporate-terms-of-service
- /github-community-forum-code-of-conduct
- /github-terms-for-additional-products-and-features
- /github-community-guidelines
- /github-terms-of-service
- /github-community-forum-code-of-conduct
- /github-sponsors-additional-terms
- /github-terms-for-additional-products-and-features
- /github-registered-developer-agreement
- /github-marketplace-terms-of-service
- /github-marketplace-developer-agreement
Expand Down
4 changes: 2 additions & 2 deletions content/site-policy/privacy-policies/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ topics:
- Policy
- Legal
children:
- /github-codespaces-privacy-statement
- /github-privacy-statement
- /global-privacy-practices
- /github-data-protection-agreement
- /github-privacy-statement
- /github-subprocessors-and-cookies
- /githubs-notice-about-the-california-consumer-privacy-act
- /github-codespaces-privacy-statement
- /github-candidate-privacy-policy
---

32 changes: 32 additions & 0 deletions contributing/codespace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Working in a codespace

This document describes how to use GitHub Codespaces for working on articles for docs.github.com.

## About GitHub Codespaces

GitHub Codespaces allows you to work in a development environment that's hosted remotely from your machine. You can get started very quickly, with no need to set up the working environment, and without having to download files to your local computer.

GitHub Codespaces is currently only available if you are a member of an organization using GitHub Team or GitHub Enterprise Cloud.

For more information, see "[GitHub Codespaces overview](https://docs.github.com/en/codespaces/overview)."

## Work on documentation in a codespace

The steps described below assume you have GitHub Codespaces set up to edit files using Visual Studio Code for Web. The steps are very similar if you have configured a different editor. For more information, see "[Setting your default editor for GitHub Codespaces](https://docs.github.com/en/codespaces/customizing-your-codespace/setting-your-default-editor-for-codespaces)."

1. Go to the `docs` repository: [https://github.com/github/docs](https://github.com/github/docs).
1. [Fork the repository](https://docs.github.com/en/get-started/quickstart/fork-a-repo) to your own organization.
1. [Create a branch to work on](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository).
1. Click the **Code** button and click **Create codespace on BRANCHNAME**.
The "Setting up your codespace" page is displayed. After a short time the browser-based version of Visual Studio Code is displayed.
1. Use the Explorer to navigate to the markdown file you want to edit. This will be located below the `content` directory.
In most cases, the path to the file, below the `content` directory, matches the path in URL, minus the `.md` file name extension. For example, the source for the article `https://docs.github.com/en/`**`codespaces/getting-started/quickstart`** is the markdown file `content/`**`codespaces/getting-started/quickstart`**`.md`.
1. Edit the markdown file as required.
1. Save your changes.
1. Commit and push your changes, either using the Source Control pane, or using Git commands from the Terminal. For more information, see "[About Git](https://docs.github.com/en/get-started/using-git/about-git)."
1. Go to the **Pull requests** tab of the `github/docs` repository and click **New pull request**.
1. Click **compare across forks** and choose the forked repository you created, and your working branch.
1. Check that the changes displayed include all of the changes you made in the codespace. If they do not, it indicates there are changes you have not pushed from the codespace to GitHub.
1. Click **Create pull request**.
1. Fill out the details for your pull request and click **Create pull request**.
Your pull request will be reviewed by a member of the GitHub documentation team.
20 changes: 20 additions & 0 deletions lib/rest/static/apps/enabled-for-apps.json
Original file line number Diff line number Diff line change
Expand Up @@ -14387,6 +14387,26 @@
"slug": "get-a-deployment-status",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"
},
{
"slug": "get-all-environments",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/environments"
},
{
"slug": "get-an-environment",
"verb": "get",
"requestPath": "/repos/{owner}/{repo}/environments/{environment_name}"
},
{
"slug": "create-or-update-an-environment",
"verb": "put",
"requestPath": "/repos/{owner}/{repo}/environments/{environment_name}"
},
{
"slug": "delete-an-environment",
"verb": "delete",
"requestPath": "/repos/{owner}/{repo}/environments/{environment_name}"
}
],
"emojis": [
Expand Down
Loading