Skip to content

221c #1

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

Merged
merged 2,186 commits into from
Jan 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2186 commits
Select commit Hold shift + click to select a range
cbe6b51
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 16, 2020
f45fe4b
repo sync
Octomerger Dec 16, 2020
09aaf2c
Remove unnecessary word / typo (#17007)
izuzak Dec 16, 2020
e7c5946
repo sync
Octomerger Dec 16, 2020
d9f2917
Update landing pages with recent changelog updates (#16946)
crichID Dec 16, 2020
81409b5
repo sync
Octomerger Dec 16, 2020
585691b
Make the repo sync stall check less aggressive (#17018)
chiedo Dec 16, 2020
e3bf6fd
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 16, 2020
b42b8e3
repo sync
Octomerger Dec 16, 2020
d34d41d
Remove mention of GraphQL API rate limit increases for GHEC organizat…
izuzak Dec 16, 2020
83999fb
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 16, 2020
4bcc362
repo sync
Octomerger Dec 16, 2020
5810c23
repo sync
Octomerger Dec 16, 2020
b3960f3
Merge branch 'main' into main
jmarlena Dec 16, 2020
442b3fe
Merge pull request #2030 from Ashok314/main
jmarlena Dec 16, 2020
1f15ea4
reenable graphql updater (#16994)
rachmari Dec 16, 2020
9ab7161
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
chiedo Dec 16, 2020
8837b7d
Add Amazon ECS guide
swinton Dec 14, 2020
fc4d5fb
Add Azure App Service guide
swinton Dec 14, 2020
7ba46cd
Add links to guides
swinton Dec 15, 2020
e458b76
Fix versioning for "GitHub Insights and data protection for your orga…
lecoursen Dec 16, 2020
0fb8315
Merge branch 'main' into repo-sync
rachmari Dec 16, 2020
7785ab9
repo sync
Octomerger Dec 16, 2020
602c2f3
Marketplace should be dotcom-only
sarahs Dec 16, 2020
a32e2e3
redirect from Enterprise versions of the page
sarahs Dec 16, 2020
5762bba
support hardcoded versions in frontmatter redirects
sarahs Dec 16, 2020
ef9b03a
Merge branch 'main' of github.com:github/docs-internal into check-lin…
sarahs Dec 16, 2020
4cf811f
Merge branch 'check-links-improvement-redux' of github.com:github/doc…
sarahs Dec 16, 2020
ef86b0e
repo sync
Octomerger Dec 16, 2020
59f375a
Merge branch 'main' into default-platform
heiskr Dec 16, 2020
d81f474
Remove duplicated items
swinton Dec 16, 2020
d836fd1
Update content/actions/guides/deploying-to-azure-app-service.md
runleonarun Dec 16, 2020
cf968af
Merge branch 'main' into deployment-guides/add-gke
runleonarun Dec 16, 2020
ff1e057
Update guidelines-for-legal-requests-of-user-data.md (#16756)
jenndeforest Dec 17, 2020
05ecaca
change external /contact link to contact variable
sarahs Dec 17, 2020
8d84a90
do more path checking
sarahs Dec 17, 2020
9a9970d
Revise intro sentence per @imjohnbo's suggestion
lucascosti Dec 17, 2020
3ef5057
GKE article edits for lists
lucascosti Dec 17, 2020
ea9be20
Added edits and style changes to Amazon guide
lucascosti Dec 17, 2020
f7e1d81
Added edits and style changes to Azure web app guide
lucascosti Dec 17, 2020
45f810f
Replace pseudo environment variables with obvious replaceables in exa…
lucascosti Dec 17, 2020
1772d74
Fix bad link URL
lucascosti Dec 17, 2020
bf85466
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
chiedo Dec 17, 2020
84f5ab6
repo sync
Octomerger Dec 17, 2020
dca73aa
Merge branch 'check-links-improvement-redux' of github.com:github/doc…
sarahs Dec 17, 2020
51a4b9a
fix double slash typo in links
sarahs Dec 17, 2020
7889518
updates for clarity
sarahs Dec 17, 2020
5da9d74
Merge branch 'main' of github.com:github/docs-internal into check-lin…
sarahs Dec 17, 2020
ae9beaa
Remove DE language from staging (#17038)
chiedo Dec 17, 2020
4262cae
Remove DataDog from Staging (#17036)
chiedo Dec 17, 2020
a43dbeb
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 17, 2020
23e98db
repo sync
Octomerger Dec 17, 2020
d04ab17
repo sync
Octomerger Dec 17, 2020
75deecd
add some clarifying comments
sarahs Dec 17, 2020
d31d89c
borrow initial findPage lookup from #16965
sarahs Dec 17, 2020
92d85b8
Code scanning docs: small fixes (#17035)
shati-patel Dec 17, 2020
9587912
Merge branch 'main' into check-links-improvement-redux
sarahs Dec 17, 2020
9e1a48d
repo sync
Octomerger Dec 17, 2020
bede624
Merge pull request #16653 from github/check-links-improvement-redux
sarahs Dec 17, 2020
969c8d5
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
sarahs Dec 17, 2020
df22823
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 17, 2020
d6e854b
update branch when out of date (#17031)
rachmari Dec 17, 2020
862ca93
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 17, 2020
794b28b
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
sarahs Dec 17, 2020
90e2daa
repo sync
Octomerger Dec 17, 2020
1857373
the new map topic handling now needs context.currentPath
sarahs Dec 17, 2020
afbd4b7
we need to use a regex so we can be sure we are removing the final se…
sarahs Dec 17, 2020
1aa8099
try to make this check as fast as we can
sarahs Dec 17, 2020
cedab43
Changes to Code Search & what data stays in the index (#16882)
neovintage Dec 17, 2020
ee7b67b
lint
sarahs Dec 17, 2020
72d21ee
Merge branch 'main' into revert-16952-revert-16947-optimize-sitetree
sarahs Dec 17, 2020
53ef454
repo sync
Octomerger Dec 17, 2020
311171a
Merge pull request #16965 from github/revert-16952-revert-16947-optim…
sarahs Dec 17, 2020
6ee59e5
repo sync
Octomerger Dec 17, 2020
ec0a9d5
Update mention in contributing (#17045)
emilyistoofunky Dec 17, 2020
73719d2
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 17, 2020
5d287ee
repo sync
Octomerger Dec 17, 2020
c0686ba
repo sync
Octomerger Dec 17, 2020
9a0222e
add missing redirect frontmatter (#17042)
rachmari Dec 17, 2020
eeb2b59
fix repo-sync bug (#17047)
rachmari Dec 17, 2020
b579486
repo sync
Octomerger Dec 17, 2020
ee8aa32
repo sync
Octomerger Dec 17, 2020
d507eec
Fix load site data reporting wrong timing data (#17050)
heiskr Dec 17, 2020
c62f49a
Block indexing not crawling (#17044)
heiskr Dec 17, 2020
5b213ef
repo sync
Octomerger Dec 17, 2020
7266455
repo sync
Octomerger Dec 17, 2020
d9a18e2
repo sync
Octomerger Dec 17, 2020
f810e4f
Update content/actions/guides/deploying-to-amazon-elastic-container-s…
runleonarun Dec 17, 2020
b68c1ee
Update content/actions/guides/deploying-to-amazon-elastic-container-s…
runleonarun Dec 17, 2020
8162972
Update content/actions/guides/deploying-to-amazon-elastic-container-s…
runleonarun Dec 17, 2020
3aeac43
Merge branch 'main' into deployment-guides/add-gke
runleonarun Dec 17, 2020
4ce9eab
Merge pull request #2085 from github/deployment-guides/add-gke
runleonarun Dec 17, 2020
219fa96
repo sync
Octomerger Dec 17, 2020
db9246d
repo sync
Octomerger Dec 17, 2020
5edae98
Add new patch notes (#17059)
JasonEtco Dec 18, 2020
14de288
repo sync
Octomerger Dec 18, 2020
4654635
Merge branch 'main' into default-platform
chiedo Dec 18, 2020
1b05af7
Merge pull request #1917 from Simran-B/default-platform
chiedo Dec 18, 2020
ddf96b0
repo sync
Octomerger Dec 18, 2020
31e9e4c
Update events-that-trigger-workflows.md (#17013)
JarLob Dec 18, 2020
bd85fe2
repo sync
Octomerger Dec 18, 2020
a252390
remove extra lang codes
sarahs Dec 18, 2020
d7e14c3
Merge pull request #17062 from github/remove-extra-lang-codes
sarahs Dec 18, 2020
bcd621e
repo sync
Octomerger Dec 18, 2020
b7131ba
repo sync
Octomerger Dec 18, 2020
1e76ef7
replace pageWithSwitcher article with one that does not have a defaul…
sarahs Dec 18, 2020
ac69fc4
Hide content that overflows in search list (#17066)
rachmari Dec 18, 2020
c5870ef
Merge branch 'main' into fix-browser-test
rachmari Dec 18, 2020
90fa71c
Merge pull request #17067 from github/fix-browser-test
sarahs Dec 18, 2020
807ae18
repo sync
Octomerger Dec 19, 2020
87c0e74
fix typo in creating-a-pull-request-from-a-fork.md
lemonez Dec 19, 2020
9b13230
Cookie policy updates (#16554)
MayHK Dec 20, 2020
7ab626e
repo sync
Octomerger Dec 20, 2020
40a1521
Edit GHAE version for API header example (#17056)
lucascosti Dec 20, 2020
98ec469
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 20, 2020
be06c80
repo sync
Octomerger Dec 20, 2020
20f68be
repo sync
Octomerger Dec 20, 2020
03b0f4d
Update docs for generating a new SSH key for windows
williamtorres1 Dec 21, 2020
c6b196b
Add details of the Used by sidebar section (#17058)
hubwriter Dec 21, 2020
a316b64
repo sync
Octomerger Dec 21, 2020
29341c9
Merge branch 'main' into patch-1
janiceilene Dec 21, 2020
b2931a2
repo sync
Octomerger Dec 21, 2020
30e2c30
npm versions limit (#17030)
jmarlena Dec 21, 2020
dd27d6f
Update team name (#17075)
emilyistoofunky Dec 21, 2020
eece106
repo sync
Octomerger Dec 21, 2020
ec8f03c
fix breadcrumbs block
Arhell Dec 21, 2020
b2fe56f
Clarify container deletion (#16576)
jmarlena Dec 22, 2020
bf7360e
repo sync
Octomerger Dec 22, 2020
98d44b2
repo sync
Octomerger Dec 22, 2020
c4f3610
Updating OpenAPI descriptions (#17076)
github-openapi-bot Dec 22, 2020
3686c69
Updating OpenAPI descriptions (#17077)
github-openapi-bot Dec 22, 2020
8b20583
repo sync
Octomerger Dec 22, 2020
e85af67
Updating OpenAPI descriptions (#17079)
github-openapi-bot Dec 22, 2020
52f7ca7
Fix a few typos (#16959)
izuzak Dec 22, 2020
f039807
repo sync
Octomerger Dec 22, 2020
4f30296
Merge branch 'main' into patch-1
shati-patel Dec 22, 2020
0a78ed5
Merge branch 'main' into patch-1
janiceilene Dec 22, 2020
ddd6da2
fix typo in Gradle Kotlin DSL script filename extension
HonkingGoose Dec 22, 2020
ff9f643
Update resources-in-the-rest-api.md (#16981)
tmetz Dec 22, 2020
ed6ca58
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 22, 2020
d038dfa
Merge pull request #2234 from lemonez/patch-1
janiceilene Dec 22, 2020
2f69e2a
Merge branch 'main' into patch-1
shati-patel Dec 22, 2020
c470adb
repo sync
Octomerger Dec 22, 2020
596d646
Merge pull request #2254 from williamtorres1/patch-1
shati-patel Dec 22, 2020
fbe8ee4
Merge branch 'main' into repo-sync
rachmari Dec 22, 2020
82a0030
repo sync
Octomerger Dec 22, 2020
fb30f5b
repo sync
Octomerger Dec 22, 2020
3653856
remove "tests are passing" checkbox
HonkingGoose Dec 22, 2020
89bc816
Merge branch 'main' into fix/2259
HonkingGoose Dec 22, 2020
6d50ffd
Merge pull request #2291 from HonkingGoose/chore/remove-unnecessary-l…
janiceilene Dec 22, 2020
2c90e06
repo sync
Octomerger Dec 22, 2020
146a9eb
Merge branch 'main' into fix/2259
runleonarun Dec 22, 2020
47e4dc8
Change the wording
dariluka Dec 22, 2020
02fe169
Updating OpenAPI descriptions (#17089)
github-openapi-bot Dec 23, 2020
0d3d85d
repo sync
Octomerger Dec 23, 2020
27d764f
Fix broken links (#17081)
myarb Dec 23, 2020
03ac7b9
repo sync
Octomerger Dec 23, 2020
0e7cf0a
repo sync
Octomerger Dec 23, 2020
cef00f7
Merge branch 'main' into patch-1
janiceilene Dec 23, 2020
2db1da3
Merge pull request #2292 from dariluka/patch-1
janiceilene Dec 23, 2020
a01c273
Merge branch 'main' into fix/2259
janiceilene Dec 23, 2020
59fea64
Merge pull request #2283 from HonkingGoose/fix/2259
janiceilene Dec 23, 2020
ff7d0cf
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Dec 23, 2020
6756f88
repo sync
Octomerger Dec 23, 2020
45d02e5
repo sync
Octomerger Dec 23, 2020
5704928
repo sync
Octomerger Dec 23, 2020
bb3297c
repo sync
Octomerger Dec 23, 2020
b3f0f3d
fix typo in Differences between GitHub apps and OAuth apps
tr1ms Dec 23, 2020
55234fa
Merge pull request #2301 from gsonly/fix/2287
janiceilene Dec 28, 2020
67a39e3
repo sync
Octomerger Dec 28, 2020
2cb33b8
Fix typo in Setting repository visibility
palt0 Dec 29, 2020
5185b0c
Merge pull request #2406 from palt0/patch-1
janiceilene Dec 29, 2020
3ccb16b
repo sync
Octomerger Dec 29, 2020
9b0c4a4
repo sync
Octomerger Dec 29, 2020
258e833
Hide ToC items with `hidden` (#17107)
JasonEtco Dec 30, 2020
e6573a0
repo sync
Octomerger Dec 30, 2020
c9dac09
repo sync
Octomerger Dec 30, 2020
ee5b89b
Update github-subprocessors-and-cookies.md (#17110)
jenndeforest Dec 30, 2020
3b3b4b0
repo sync
Octomerger Dec 30, 2020
9de91ec
removed the about-labels masked link.
Dhruvin-Purohit Jan 2, 2021
6111c64
Update github-marketplace-developer-agreement.md (#16710)
jaepak20 Jan 3, 2021
0adcc74
repo sync
Octomerger Jan 3, 2021
857e72b
repo sync
Octomerger Jan 3, 2021
1aa9474
Merge branch 'main' into patch-1
Jan 4, 2021
83e72a6
Added a note about debugging, added intro text.
Jan 4, 2021
41fc08f
Apply suggestions from code review
Jan 4, 2021
13a46f4
Merge pull request #1781 from ssbarnea/patch-1
Jan 4, 2021
262e67a
repo sync
Octomerger Jan 4, 2021
30967b3
Minor spelling corrections
lucalves Jan 4, 2021
17b875e
[January 4, 2021] Marketplace revenue change (#16792)
felicitymay Jan 4, 2021
47ba0ec
repo sync
Octomerger Jan 4, 2021
cfbefbb
Update testing-your-ssh-connection.md (#2220)
charlescurley Jan 4, 2021
81cb6da
repo sync
Octomerger Jan 4, 2021
7ab887c
Add information about management of an enterprise to "About enterpris…
mattpollard Jan 4, 2021
cdfe1d2
Remove link to page not in GHES/GHAE (#17122)
hubwriter Jan 4, 2021
70d98e3
repo sync
Octomerger Jan 4, 2021
8771f24
repo sync
Octomerger Jan 4, 2021
8db496a
Update content/developers/apps/creating-a-github-app-from-a-manifest.md
janiceilene Jan 4, 2021
9dc3858
Merge branch 'main' into main
janiceilene Jan 4, 2021
5b76b0f
Merge pull request #1424 from hiimbex/main
janiceilene Jan 4, 2021
d5b3f55
repo sync
Octomerger Jan 4, 2021
355f074
Revert broken translated files to english (#17126)
vanessayuenn Jan 4, 2021
7b7cec6
repo sync
Octomerger Jan 4, 2021
02862b6
Merge branch 'main' into patch-1
janiceilene Jan 4, 2021
5b64ce8
Merge pull request #2493 from Dhruvin-Purohit/patch-1
janiceilene Jan 4, 2021
c644fa0
Fix invalid syntax for pull_request_target example (#1890)
tomjschuster Jan 5, 2021
4629901
Fix filter pattern cheat sheet examples (#1994)
tomjschuster Jan 5, 2021
7d6d157
Fix command block rendering with raw tags (#17136)
lucascosti Jan 5, 2021
49d8d0e
Add troubleshooting for HEAD analysis warning (#17121)
hubwriter Jan 5, 2021
5711f22
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jan 5, 2021
a11ebb3
repo sync
Octomerger Jan 5, 2021
a588cfb
repo sync
Octomerger Jan 5, 2021
205ab5e
Dependabot: clarify info about dependency inaccessibility (#17032)
hubwriter Jan 5, 2021
7e338d0
repo sync
Octomerger Jan 5, 2021
896417a
Make Repo Sync Stall Workflow check for the automated-repo-sync label…
chiedo Jan 5, 2021
dc36539
Patch (#17144)
chiedo Jan 5, 2021
3bcef63
repo sync
Octomerger Jan 5, 2021
4e781a5
Fix some typos in the lib directory (#17131)
heiskr Jan 5, 2021
f281c5b
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jan 5, 2021
69c8637
repo sync
Octomerger Jan 5, 2021
d7eb248
Fix a bunch of random typos (#17129)
heiskr Jan 5, 2021
73212c0
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jan 5, 2021
3fa5d48
repo sync
Octomerger Jan 5, 2021
9d46c15
repo sync
Octomerger Jan 5, 2021
bb46eb5
Merge branch 'main' into fix-bread
heiskr Jan 5, 2021
4ffc2a5
Fix a bunch of typos in tests dir (#17132)
heiskr Jan 5, 2021
e3425f2
Merge pull request #2251 from Arhell/fix-bread
heiskr Jan 5, 2021
d42e412
Fix a few typos in content dir (#17133)
heiskr Jan 5, 2021
91285a2
environments supported on enterprise (#17127)
skedwards88 Jan 5, 2021
3582de0
Parentheticals -> parentheses (#17130)
heiskr Jan 5, 2021
6e93c5b
Update trade controls FAQ (#17137)
Jan 5, 2021
9ea6314
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jan 5, 2021
f770826
Merge branch 'main' into lucalves/spell-check
janiceilene Jan 5, 2021
8aeff6e
Merge branch 'main' into repo-sync
chiedo Jan 5, 2021
d7d0e64
adding link to blog post
Jan 5, 2021
3cbfcbc
repo sync
Octomerger Jan 5, 2021
133cd6a
Merge branch 'main' into blog-post-trade-controls
Jan 5, 2021
a3d61c0
repo sync
Octomerger Jan 5, 2021
77fcdfb
Update github-and-trade-controls.md
samanthachau Jan 5, 2021
6286018
Merge pull request #17153 from github/blog-post-trade-controls
Jan 5, 2021
c7e3890
Merge branch 'main' into repo-sync
chiedo Jan 5, 2021
e4c0a67
repo sync
Octomerger Jan 5, 2021
2b9d82f
Merge branch 'main' into lucalves/spell-check
janiceilene Jan 5, 2021
55bf812
Merge pull request #2532 from lucalves/lucalves/spell-check
janiceilene Jan 5, 2021
0da5a7e
repo sync
Octomerger Jan 5, 2021
a80ec7b
Crowdin translations (#17143)
vanessayuenn Jan 5, 2021
5576c07
Merge branch 'main' into patch-1
janiceilene Jan 5, 2021
48b9141
repo sync
Octomerger Jan 5, 2021
838a288
Merge branch 'main' into patch-1
janiceilene Jan 5, 2021
2633ca0
Merge pull request #1993 from Andre601/patch-1
janiceilene Jan 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
18 changes: 18 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Codespaces environment for docs.github.com
// For format details, see https://aka.ms/vscode-remote/devcontainer.json
{
"name": "docs.github.com",
"service": "container-doc",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash",
"cSpell.language": ",en"
},
// Install pre-requisites, and start to serve docs.github.com locally
"postCreateCommand": "npm install && npm start",
"forwardPorts": [4000],
// Visual Studio Code extensions which help authoring for docs.github.com.
"extensions": [
"yzhang.markdown-all-in-one",
"streetsidesoftware.code-spell-checker"
]
}
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
ALGOLIA_API_KEY=
ALGOLIA_APPLICATION_ID=
ALLOW_TRANSLATION_COMMITS=
EARLY_ACCESS_HOSTNAME=
EARLY_ACCESS_SHARED_SECRET=
GITHUB_TOKEN=
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist/
28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2020: true,
node: true
},
parser: 'babel-eslint',
extends: [
'eslint:recommended',
'standard'
],
parserOptions: {
ecmaVersion: 11
},
rules: {
},
overrides: [
{
files: [
'**/tests/**/*.js'
],
env: {
jest: true
}
}
]
}
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ package.json @github/docs-engineering
# Site Policy
/content/github/site-policy/ @github/site-policy-admins

# Content strategy
/contributing/content-markup-reference.md @github/docs-content-strategy
/contributing/content-style-guide.md @github/docs-content-strategy

# Make sure that Octokit maintainers get notified about changes
# relevant to the Octokit libraries (https://github.com/octokit)
/content/rest/reference @github/octokit-maintainers
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/improve-existing-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ labels:
assignees: ''
---
<!--
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT https://github.com/github/docs-content/issues/new/choose INSTEAD.
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT INSTEAD.
-->

<!--
For questions, ask in Discussions: https://github.com/github/docs/discussions

Before you file an issue read the:
Before you file an issue read the:
- Code of Conduct: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- Contributing guide: https://github.com/github/docs/blob/main/CONTRIBUTING.md

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/improve-the-site.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ assignees: ''
---

<!--
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT https://github.com/github/docs-content/issues/new/choose INSTEAD.
HUBBERS BEWARE! THE GITHUB/DOCS REPO IS PUBLIC TO THE ENTIRE INTERNET. OPEN AN ISSUE IN GITHUB/DOCS-CONTENT INSTEAD.
-->

<!--
For questions, ask in Discussions: https://github.com/github/docs/discussions

Before you file an issue read the:
Before you file an issue read the:
- Code of Conduct: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md
- Contributing guide: https://github.com/github/docs/blob/main/CONTRIBUTING.md

Expand Down
3 changes: 1 addition & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Thanks again!
<!-- Share artifacts of the changes, be they code snippets, GIFs or screenshots; whatever shares the most context. -->

### Check off the following:
- [ ] All of the tests are passing.
- [ ] I have reviewed my changes in staging.
- [ ] I have reviewed my changes in staging. (look for the **deploy-to-heroku** link in your pull request, then click **View deployment**)
- [ ] For content changes, I have reviewed the [localization checklist](https://github.com/github/docs/blob/main/contributing/localization-checklist.md)
- [ ] For content changes, I have reviewed the [Content style guide for GitHub Docs](https://github.com/github/docs/blob/main/contributing/content-style-guide.md).
36 changes: 36 additions & 0 deletions .github/actions-scripts/enterprise-algolia-label.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env node

const fs = require('fs')
const core = require('@actions/core')
const eventPayload = JSON.parse(fs.readFileSync(process.env.GITHUB_EVENT_PATH, 'utf8'))

// This workflow-run script does the following:
// 1. Gets an array of labels on a PR.
// 2. Finds one with the relevant Algolia text; if none found, exits early.
// 3. Gets the version substring from the label string.

const labelText = 'sync-english-index-for-'
const labelsArray = eventPayload.pull_request.labels

// Exit early if no labels are on this PR
if (!(labelsArray && labelsArray.length)) {
process.exit(0)
}

// Find the relevant label
const algoliaLabel = labelsArray
.map(label => label.name)
.find(label => label.startsWith(labelText))

// Exit early if no relevant label is found
if (!algoliaLabel) {
process.exit(0)
}

// Given: sync-english-index-for-enterprise-server@3.0
// Returns: enterprise-server@3.0
const versionToSync = algoliaLabel.split(labelText)[1]

// Store the version so we can access it later in the workflow
core.setOutput('versionToSync', versionToSync)
process.exit(0)
41 changes: 41 additions & 0 deletions .github/actions-scripts/openapi-schema-branch.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/usr/bin/env node

const fs = require('fs')
const path = require('path')
const { execSync } = require('child_process')
const semver = require('semver')

/*
* This script performs two checks to prevent shipping development mode OpenAPI schemas:
* - Ensures the `info.version` property is a semantic version.
* In development mode, the `info.version` property is a string
* containing the `github/github` branch name.
* - Ensures the decorated schema matches the dereferenced schema.
* The workflow that calls this script runs `script/rest/update-files.js`
* with the `--decorate-only` switch then checks to see if files changed.
*
*/

// Check that the `info.version` property is a semantic version
const dereferencedDir = path.join(process.cwd(), 'lib/rest/static/dereferenced')
const schemas = fs.readdirSync(dereferencedDir)
schemas.forEach(filename => {
const schema = require(path.join(dereferencedDir, filename))
if (!semver.valid(schema.info.version)) {
console.log(`🚧⚠️ Your branch contains a development mode OpenAPI schema: ${schema.info.version}. This check is a reminder to not 🚢 OpenAPI files in development mode. 🛑`)
process.exit(1)
}
})

// Check that the decorated schema matches the dereferenced schema
const changedFiles = execSync('git diff --name-only HEAD').toString()

if(changedFiles !== '') {
console.log(`These files were changed:\n${changedFiles}`)
console.log(`🚧⚠️ Your decorated and dereferenced schema files don't match. Ensure you're using decorated and dereferenced schemas from the automatically created pull requests by the 'github-openapi-bot' user. For more information, see 'script/rest/README.md'. 🛑`)
process.exit(1)
}

// All checks pass, ready to ship
console.log('All good 👍')
process.exit(0)
30 changes: 15 additions & 15 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@
// can be added it this list.

module.exports = [
'actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe',
'actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16',
'actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675',
'actions/github-script@5d03ada4b0a753e9460b312e61cc4f8fdeacf163',
'actions/github-script@6e5ee1dc1cb3740e5e5e76ad668e3f526edbfe45',
'actions/github-script@44b873bc975058192f5279ebe7579496381f575d',
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9',
'actions/labeler@5f867a63be70efff62b767459b009290364495eb',
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d',
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526',
'actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8',
'actions/cache@0781355a23dac32fd3bac414512f4b903437991a', //actions/cache@v2.1.3
'actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f', //actions/checkout@v2.3.4
'actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9', //actions/script@v3.0.0
'actions/labeler@5f867a63be70efff62b767459b009290364495eb', //actions/labeler@v2.2.0
'actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d', //actions/setup-node@v1.4.4
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526', //actions/setup-ruby@v1.1.2
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
'docker://chinthakagodawita/autoupdate-action:v1',
Expand All @@ -25,13 +21,17 @@ module.exports = [
'juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8',
'juliangruber/find-pull-request-action@64d55773c959748ad30a4184f4dc102af1669f7b',
'juliangruber/read-file-action@e0a316da496006ffd19142f0fd594a1783f3b512',
'lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8',
'pascalgn/automerge-action@c9bd182',
'peter-evans/create-issue-from-file@35e304e2a12caac08c568247a2cb46ecd0c3ecc5',
'peter-evans/create-pull-request@938e6aea6f8dbdaced2064e948cb806c77fe87b8',
'peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326',
'peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd',
'peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43',
'rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9',
'rachmari/labeler@832d42ec5523f3c6d46e8168de71cd54363e3e2e',
'repo-sync/github-sync@3832fe8e2be32372e1b3970bbae8e7079edeec88',
'repo-sync/pull-request@33777245b1aace1a58c87a29c90321aa7a74bd7d',
'rtCamp/action-slack-notify@e17352feaf9aee300bf0ebc1dfbf467d80438815',
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0'
'someimportantcompany/github-actions-slack-message@0b470c14b39da4260ed9e3f9a4f1298a74ccdefd',
'tjenkinson/gh-action-auto-merge-dependency-updates@cee2ac0',
'EndBug/add-and-commit@9358097a71ad9fb9e2f9624c6098c89193d83575',
'dorny/paths-filter@eb75a1edc117d3756a18ef89958ee59f9500ba58'
]
25 changes: 13 additions & 12 deletions .github/workflows/60-days-stale-check.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
name: 60 Days Stale Check
on:
schedule:
- cron: "40 16 * * *" # Run each day at 16:40 UTC / 8:40 PST
- cron: '40 16 * * *' # Run each day at 16:40 UTC / 8:40 PST

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@44f9eae0adddf72dbf3eedfacc999f70afcec1a8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'
days-before-stale: 60
days-before-close: -1
only-labels: 'engineering'
stale-issue-label: 'stale'
stale-pr-label: 'stale'

- uses: actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity.'
days-before-stale: 60
days-before-close: -1
only-labels: 'engineering'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-pr-labels: 'never-stale'
exempt-issue-labels: 'never-stale'
8 changes: 4 additions & 4 deletions .github/workflows/auto-label-prs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Auto label Pull Requests
on:
- pull_request
pull_request:

jobs:
triage:
if: github.repository == 'github/docs-internal'
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@5f867a63be70efff62b767459b009290364495eb
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@5f867a63be70efff62b767459b009290364495eb
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
12 changes: 10 additions & 2 deletions .github/workflows/automerge-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
name: Auto Merge Dependency Updates

on:
- pull_request
- pull_request_review
pull_request:
paths:
- 'package*.json'
- 'Gemfile*'
- 'Dockerfile'
- '.github/workflows/**'
pull_request_review:
types:
- edited
- submitted

jobs:
run:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'automerge') || contains(github.event.pull_request.labels.*.name, 'autosquash')
steps:
- name: automerge
uses: "pascalgn/automerge-action@c9bd182"
uses: 'pascalgn/automerge-action@c9bd182'
env:
GITHUB_TOKEN: "${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}"
MERGE_METHOD_LABELS: "automerge=merge,autosquash=squash"
MERGE_COMMIT_MESSAGE: "pull-request-title"
MERGE_METHOD: "merge"
MERGE_FORKS: "true"
MERGE_RETRIES: "50"
MERGE_RETRY_SLEEP: "10000" # ten seconds
UPDATE_LABELS: "automerge,autosquash"
UPDATE_METHOD: "merge"
GITHUB_TOKEN: '${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}'
MERGE_METHOD_LABELS: 'automerge=merge,autosquash=squash'
MERGE_COMMIT_MESSAGE: 'pull-request-title'
MERGE_METHOD: 'merge'
MERGE_FORKS: 'true'
MERGE_RETRIES: '50'
MERGE_RETRY_SLEEP: '10000' # ten seconds
UPDATE_LABELS: 'automerge,autosquash'
UPDATE_METHOD: 'merge'
2 changes: 1 addition & 1 deletion .github/workflows/browser-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Even if if doesn't do anything
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
name: Checkout
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f

- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
name: Install
Expand Down
Loading