Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1294 commits
Select commit Hold shift + click to select a range
ef4939c
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
e179b60
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
ff0b89a
Merge branch 'main' into site-tree-followup
gracepark Jun 16, 2021
c9a1ba8
Merge pull request #7434 from github/repo-sync
Octomerger Jun 16, 2021
e795a6c
Merge branch 'main' of https://github.com/github/docs-internal into s…
gracepark Jun 16, 2021
d06a65b
Merge pull request #19959 from github/repo-sync
Octomerger Jun 16, 2021
68abd46
Merge branch 'main' of https://github.com/github/docs-internal into s…
gracepark Jun 16, 2021
df8cfad
Remove ruby action (#19961)
heiskr Jun 16, 2021
ed42a48
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
18f8d1f
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
e1136d3
Merge pull request #7440 from github/repo-sync
Octomerger Jun 16, 2021
77159be
Merge branch 'main' into site-tree-followup
gracepark Jun 16, 2021
7ae38e8
Merge pull request #19962 from github/repo-sync
Octomerger Jun 16, 2021
84470a7
updating translations content
gracepark Jun 16, 2021
2f0edc0
Merge branch 'site-tree-followup' of https://github.com/github/docs-i…
gracepark Jun 16, 2021
819bc91
Merge branch 'main' into site-tree-followup
gracepark Jun 16, 2021
3fc2702
Merge pull request #19948 from github/site-tree-followup
gracepark Jun 16, 2021
f7b2ab7
Merge pull request #7444 from github/repo-sync
Octomerger Jun 16, 2021
c9b2db6
Merge pull request #19964 from github/repo-sync
Octomerger Jun 16, 2021
74c46de
[June 16th] Dependabot no longer runs at 5AM UTC by default (#19841)
asciimike Jun 16, 2021
cd90fd9
Merge pull request #7447 from github/repo-sync
Octomerger Jun 16, 2021
83e33cc
Quiet sass warnings (#19960)
mikesurowiec Jun 16, 2021
fda45f9
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
af3df8c
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
0ae4979
clean up openapi build errors (#19963)
rachmari Jun 16, 2021
f4760ce
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jun 16, 2021
1350643
Merge pull request #7448 from github/repo-sync
Octomerger Jun 16, 2021
3b8f580
Merge pull request #19966 from github/repo-sync
Octomerger Jun 16, 2021
a20f56d
updating LanguagePicker to use language code instead of hreflang
gracepark Jun 16, 2021
0ff54e8
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
1f028e5
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
8899f30
adding to 2nd return
gracepark Jun 16, 2021
3b92e01
Merge branch 'main' into fix-zh-links
gracepark Jun 16, 2021
bf7d710
Merge pull request #7449 from github/repo-sync
Octomerger Jun 16, 2021
d209cb7
Merge pull request #19967 from github/repo-sync
Octomerger Jun 16, 2021
10c006f
Merge branch 'main' into fix-zh-links
gracepark Jun 16, 2021
310cc53
pull in main and conflicts
gracepark Jun 16, 2021
a54c4fb
update package-local
gracepark Jun 16, 2021
d31c1aa
Add more CS team files to code owners (#19954)
emilyistoofunky Jun 16, 2021
13c2ba0
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
56b44f9
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
40f1a2a
Merge pull request #7452 from github/repo-sync
Octomerger Jun 16, 2021
e1005d7
Merge pull request #19971 from github/repo-sync
Octomerger Jun 16, 2021
7c4baa9
adding packages
gracepark Jun 16, 2021
029f6d3
Merge branch 'main' into update-python-build-docs
Jun 16, 2021
87c176b
Update building-and-testing-python.md
Jun 16, 2021
b5eab44
Merge pull request #6090 from jamescurtin/update-python-build-docs
Jun 16, 2021
208b952
Merge branch 'main' into localized-mini-tocs-bugfix
gracepark Jun 16, 2021
222f003
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
54409b2
Merge branch 'main' into repo-sync
Octomerger Jun 16, 2021
d9aea6e
Merge pull request #7453 from github/repo-sync
Octomerger Jun 16, 2021
52a53cd
Update package.json
gracepark Jun 16, 2021
88824eb
Merge branch 'main' into localized-mini-tocs-bugfix
gracepark Jun 16, 2021
1439402
Merge pull request #19973 from github/repo-sync
Octomerger Jun 16, 2021
36c54ea
update old script
sarahs Jun 17, 2021
a04f3af
Update script/move-category-to-product.js
sarahs Jun 17, 2021
1d4bd05
Add known issue about Pages availability when replica nodes are offli…
mattpollard Jun 17, 2021
d6c8c2d
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
85e8baf
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
73afabc
Merge pull request #19979 from github/repo-sync
Octomerger Jun 17, 2021
882484b
Merge pull request #7463 from github/repo-sync
Octomerger Jun 17, 2021
85d37a2
Dependabot: add note about IP allowlist (#19958)
jurre Jun 17, 2021
521d0d3
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
a5ba2ca
Merge pull request #19982 from github/repo-sync
Octomerger Jun 17, 2021
d54fe16
Merge pull request #7468 from github/repo-sync
Octomerger Jun 17, 2021
2c52014
Update OpenAPI Descriptions (#19977)
github-openapi-bot Jun 17, 2021
1761e86
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
a29de1e
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
cb40c52
Merge pull request #7470 from github/repo-sync
Octomerger Jun 17, 2021
d9141da
Merge pull request #19983 from github/repo-sync
Octomerger Jun 17, 2021
fb928df
Update logic to check for valid version number in release notes middl…
mattpollard Jun 17, 2021
058d39b
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
41c87c1
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
925bf22
Merge pull request #19984 from github/repo-sync
Octomerger Jun 17, 2021
c4076da
test for release notes content, not just response
sarahs Jun 17, 2021
355b0cd
Merge pull request #7471 from github/repo-sync
Octomerger Jun 17, 2021
02f360a
remove mistakenly added directory
gracepark Jun 17, 2021
43cefe6
adding back redirect_from
gracepark Jun 17, 2021
184543b
adding one more redirect_from article
gracepark Jun 17, 2021
21a8778
Add Azure Active Directory Application Secret to list of supported se…
Jun 17, 2021
56027f0
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
d7eb802
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
c3e8c3f
Merge branch 'main' into update-old-script
heiskr Jun 17, 2021
fee289f
Merge pull request #7476 from github/repo-sync
Octomerger Jun 17, 2021
87f6bc3
Merge pull request #19988 from github/repo-sync
Octomerger Jun 17, 2021
5396f5f
React: All landing pages (#19943)
mikesurowiec Jun 17, 2021
5b111df
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
ed69e9e
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
72b6f5c
Merge pull request #7477 from github/repo-sync
Octomerger Jun 17, 2021
d58547d
Merge pull request #19989 from github/repo-sync
Octomerger Jun 17, 2021
50fbcc6
Deploy/undeploy PRs to/from staging via an Actions workflow (#19865)
JamesMGreene Jun 17, 2021
11d0a47
updating test to include redirect_from on different pages
gracepark Jun 17, 2021
ad01e84
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
14bc81d
Merge branch 'main' into redirects-fix
gracepark Jun 17, 2021
8630646
Merge branch 'main' into fix-zh-links
gracepark Jun 17, 2021
91bf056
Merge branch 'main' into localized-mini-tocs-bugfix
gracepark Jun 17, 2021
72cc6cc
Merge pull request #7478 from github/repo-sync
Octomerger Jun 17, 2021
f25ecee
Merge branch 'main' into localized-mini-tocs-bugfix
gracepark Jun 17, 2021
2962b77
Merge pull request #7183 from github/localized-mini-tocs-bugfix
gracepark Jun 17, 2021
c0441af
Update PR template to not mention `deploy-to-heroku` (#19994)
JamesMGreene Jun 17, 2021
1b3813d
Merge branch 'main' into fix-zh-links
gracepark Jun 17, 2021
1fbaf92
upgrade nextjs to v11 (#19995)
mikesurowiec Jun 17, 2021
33a92f7
Merge branch 'main' into fix-zh-links
gracepark Jun 17, 2021
a0441d5
Merge branch 'main' into redirects-fix
gracepark Jun 17, 2021
3eacb98
Cancel in-flight Staging deployments when a new commit is pushed (#19…
JamesMGreene Jun 17, 2021
5efaadf
Merge branch 'main' into fix-zh-links
gracepark Jun 17, 2021
f779f56
Merge branch 'main' into redirects-fix
gracepark Jun 17, 2021
8665c59
Merge pull request #19856 from github/fix-zh-links
gracepark Jun 17, 2021
416b672
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
631031a
Merge pull request #19991 from github/repo-sync
Octomerger Jun 17, 2021
14bb94d
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
ba95c62
NextJS: enable a sponsors, organizations, discussions, and billing su…
mikesurowiec Jun 17, 2021
774adba
Merge pull request #7482 from github/repo-sync
Octomerger Jun 17, 2021
8f9016b
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
6ce17ce
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
7def4f0
Merge pull request #7483 from github/repo-sync
Octomerger Jun 17, 2021
bcd4e23
Merge pull request #19999 from github/repo-sync
Octomerger Jun 17, 2021
23af250
Merge branch 'main' into update-old-script
sarahs Jun 17, 2021
55e7a69
Update update-files.js (#19996)
heiskr Jun 17, 2021
255bb9e
check status code too
sarahs Jun 17, 2021
1801dc4
Merge branch 'main' of github.com:github/docs-internal into add-relea…
sarahs Jun 17, 2021
21348a2
Add support for `workflow_dispatch` of staging deploy workflow (#19974)
JamesMGreene Jun 17, 2021
efd8afb
Merge branch 'main' into repo-sync
Octomerger Jun 17, 2021
96c158f
Merge pull request #7484 from github/repo-sync
Octomerger Jun 17, 2021
b5c128b
Merge pull request #20000 from github/repo-sync
Octomerger Jun 17, 2021
a1ec2d0
updating test with sarahs changes
gracepark Jun 17, 2021
74d30fe
Merge branch 'redirects-fix' of https://github.com/github/docs-intern…
gracepark Jun 17, 2021
670c7b9
Merge branch 'main' into redirects-fix
gracepark Jun 17, 2021
83b6c0f
Merge pull request #19993 from github/redirects-fix
gracepark Jun 17, 2021
ab85738
Merge pull request #7486 from github/repo-sync
Octomerger Jun 17, 2021
d4d810a
Merge branch 'main' into add-release-notes-tests
sarahs Jun 17, 2021
7f0eac3
Merge pull request #19985 from github/add-release-notes-tests
sarahs Jun 18, 2021
0f2557a
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
0437b40
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
b21e3b3
Merge pull request #7487 from github/repo-sync
Octomerger Jun 18, 2021
d9b343d
Merge pull request #20005 from github/repo-sync
Octomerger Jun 18, 2021
5babd75
Update template headings from H3 ->H2 etc. (#19924)
felicitymay Jun 18, 2021
b36e983
Merge pull request #7488 from github/repo-sync
Octomerger Jun 18, 2021
e9048d6
Adds documentation for cmd-e shortcut (#19889)
emmaviolet Jun 18, 2021
7c6ab07
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
cb2c93a
Merge pull request #7489 from github/repo-sync
Octomerger Jun 18, 2021
d52299a
Correct filter name
Relequestual Jun 18, 2021
ff1c304
Merge branch 'main' into update-old-script
sarahs Jun 18, 2021
c67d1f4
Merge pull request #19975 from github/update-old-script
sarahs Jun 18, 2021
ddeb144
Merge pull request #7496 from github/repo-sync
Octomerger Jun 18, 2021
5991ffb
Enable more react sub-sections (#20004)
mikesurowiec Jun 18, 2021
36475a8
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
8a5f338
Merge pull request #7497 from github/repo-sync
Octomerger Jun 18, 2021
0ead59e
Action ran graphql script"update-files"
rachmari Jun 18, 2021
1e5372a
Move Getting started category to top-level doc set (#20008)
emilyistoofunky Jun 18, 2021
e909a68
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jun 18, 2021
a721507
GraphQL schema update
Octomerger Jun 18, 2021
6c35432
Merge pull request #7500 from github/repo-sync
Octomerger Jun 18, 2021
973bc55
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
7b64d77
Merge pull request #7501 from github/repo-sync
Octomerger Jun 18, 2021
f19d695
fix: enterprise guide type was sometimes undefined (#20015)
mikesurowiec Jun 18, 2021
2bed08f
Merge branch 'main' into repo-sync
Octomerger Jun 18, 2021
dc18ded
Merge pull request #7504 from github/repo-sync
Octomerger Jun 18, 2021
2340990
Merge branch 'main' into patch-1
janiceilene Jun 18, 2021
b342326
Action ran graphql script"update-files"
rachmari Jun 20, 2021
e713a3a
Update Meta endpoint description (#19831)
pnsk Jun 21, 2021
f5a3228
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jun 21, 2021
2392897
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
53c596d
GraphQL schema update
Octomerger Jun 21, 2021
d5d5f5e
Merge pull request #7533 from github/repo-sync
Octomerger Jun 21, 2021
84a7ba6
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
5c3f599
Merge pull request #7534 from github/repo-sync
Octomerger Jun 21, 2021
4571a17
Move image under step - follow on PR (#19980)
felicitymay Jun 21, 2021
94ebdab
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
6f35d5d
Merge pull request #7542 from github/repo-sync
Octomerger Jun 21, 2021
84f94f5
Merge pull request #20009 from github/repo-sync
Octomerger Jun 21, 2021
737bdd7
Sync fork with upstream (Fetch upstream) via web UI (#19806)
dipree Jun 21, 2021
6f9b4aa
Update OpenAPI Descriptions (#20031)
github-openapi-bot Jun 21, 2021
09f039a
Merge pull request #7545 from github/repo-sync
Octomerger Jun 21, 2021
ff807db
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
950ad01
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
2187745
Merge pull request #7547 from github/repo-sync
Octomerger Jun 21, 2021
ad7aa9d
Merge pull request #20034 from github/repo-sync
Octomerger Jun 21, 2021
7b07882
Updating test to skip since Crowdin has a delay in updating the trans…
gracepark Jun 21, 2021
6fd76dd
Merge pull request #20035 from github/reskip-non-english-page-test
gracepark Jun 21, 2021
7fb4bab
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
3044bfa
Merge pull request #7548 from github/repo-sync
Octomerger Jun 21, 2021
9e05c58
Merge pull request #20036 from github/repo-sync
Octomerger Jun 21, 2021
96771f9
Intro Added to Commits/Notification Category (#7095)
codewithdev Jun 21, 2021
5347078
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
9dc4a25
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
89f6549
Merge pull request #7549 from github/repo-sync
Octomerger Jun 21, 2021
aca9a6c
Merge pull request #20038 from github/repo-sync
Octomerger Jun 21, 2021
b13ac1b
only hide TOC items on non-early access content; we want it to displa…
sarahs Jun 21, 2021
7919725
add a few more early access tests
sarahs Jun 21, 2021
2352829
Merge branch 'main' of github.com:github/docs-internal into fix-early…
sarahs Jun 21, 2021
287a857
Update Packages docs for Container registry GA (#19987)
hubwriter Jun 21, 2021
64c5f92
Remove "write", added repos only have read permissions (#20040)
Jun 21, 2021
1d1bcb9
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
d4cb330
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
a44bfa2
Merge pull request #7550 from github/repo-sync
Octomerger Jun 21, 2021
07801b8
Merge pull request #20042 from github/repo-sync
Octomerger Jun 21, 2021
e9aadbb
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
ac4aa70
Merge pull request #20043 from github/repo-sync
Octomerger Jun 21, 2021
181420f
Merge branch 'main' into patch-1
janiceilene Jun 21, 2021
b084dbc
React: Enable all remaining pages (#20012)
mikesurowiec Jun 21, 2021
b0c9a1e
Merge pull request #7490 from Relequestual/patch-1
janiceilene Jun 21, 2021
cd5b4dd
Update OpenAPI Descriptions (#20037)
github-openapi-bot Jun 21, 2021
9fc2372
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
2ab75f3
Merge pull request #20045 from github/repo-sync
Octomerger Jun 21, 2021
2288896
Merge pull request #7551 from github/repo-sync
Octomerger Jun 21, 2021
e377d74
React: import necessary javascripts directly (#20001)
mikesurowiec Jun 21, 2021
c53f299
Merge branch 'main' into repo-sync
Octomerger Jun 21, 2021
f1d07ba
Merge pull request #20046 from github/repo-sync
Octomerger Jun 21, 2021
4c45a96
React: import necessary javascripts directly (#20001) (#7559)
Octomerger Jun 21, 2021
d1ba055
Update OpenAPI Descriptions (#20047)
github-openapi-bot Jun 22, 2021
a52c5a7
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
e3b2313
Merge pull request #7561 from github/repo-sync
Octomerger Jun 22, 2021
5f608ee
Merge pull request #20049 from github/repo-sync
Octomerger Jun 22, 2021
16ff92c
Replace explicit mentions of `api` subdomain for GitHub Enterprise Se…
mattpollard Jun 22, 2021
c58fa8e
Add one-time Sponsorship (#18657)
Jun 22, 2021
c884cf0
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
f6b023d
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Jun 22, 2021
04b9874
Merge pull request #20053 from github/repo-sync
Octomerger Jun 22, 2021
dc84df9
Merge pull request #7566 from github/repo-sync
Octomerger Jun 22, 2021
8c401bf
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
7a16282
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
249d2ec
Merge pull request #7568 from github/repo-sync
Octomerger Jun 22, 2021
0ae735d
Merge pull request #20054 from github/repo-sync
Octomerger Jun 22, 2021
b682393
Fix heading levels (#20033)
mattpollard Jun 22, 2021
c10df8d
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
ab2b7ad
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
9ae1418
Merge pull request #7571 from github/repo-sync
Octomerger Jun 22, 2021
b43fdb3
Merge pull request #20056 from github/repo-sync
Octomerger Jun 22, 2021
2ff3c11
Update content/github/committing-changes-to-your-project/viewing-and-…
guntrip Jun 22, 2021
5036bb2
Merge branch 'main' into flytewizard-commit-articles-intros
guntrip Jun 22, 2021
14edcf2
Trigger Build
guntrip Jun 22, 2021
4c6553c
Merge pull request #7328 from FlyteWizard/flytewizard-commit-articles…
guntrip Jun 22, 2021
b2a4a41
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
378eb9e
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
02f0bad
Merge pull request #7574 from github/repo-sync
Octomerger Jun 22, 2021
bcf257c
Merge pull request #20057 from github/repo-sync
Octomerger Jun 22, 2021
6d193cb
Merge branch 'main' into patch-1
lecoursen Jun 22, 2021
7effa79
Merge pull request #7433 from corneliusroemer/patch-1
lecoursen Jun 22, 2021
6b0ad44
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
c34e3e0
Merge branch 'main' into fix-early-access-tocs
sarahs Jun 22, 2021
42f7448
Merge pull request #7577 from github/repo-sync
Octomerger Jun 22, 2021
bbb92c6
Merge pull request #20058 from github/repo-sync
Octomerger Jun 22, 2021
56788ae
Merge branch 'main' into fix-early-access-tocs
sarahs Jun 22, 2021
76042bb
Merge pull request #20041 from github/fix-early-access-tocs
sarahs Jun 22, 2021
7845f8c
Merge pull request #7580 from github/repo-sync
Octomerger Jun 22, 2021
34589f1
Improve wording of issue transfer message for less confusion (#20060)
JamesMGreene Jun 22, 2021
9a6635f
Merge branch 'main' into repo-sync
Octomerger Jun 22, 2021
1392163
Merge pull request #7581 from github/repo-sync
Octomerger Jun 22, 2021
7d19ae7
Update PATCH user/email/visibility docs to not require email.
itsbagpack Jun 22, 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.
24 changes: 22 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ module.exports = {
parser: '@babel/eslint-parser',
extends: [
'eslint:recommended',
'standard'
'standard',
'prettier'
],
parserOptions: {
ecmaVersion: 11
Expand All @@ -24,6 +25,25 @@ module.exports = {
env: {
jest: true
}
}
},
{
files: [
'**/*.tsx', '**/*.ts'
],
plugins: [
'@typescript-eslint',
'jsx-a11y'
],
extends: ['plugin:jsx-a11y/recommended'],
parser: '@typescript-eslint/parser',
rules: {
'camelcase': 'off',
'no-unused-vars': 'off',
'no-undef': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-unused-vars': ['error'],
'jsx-a11y/no-onchange': 'off',
}
},
]
}
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ package.json @github/docs-engineering
# Content strategy
/contributing/content-markup-reference.md @github/docs-content-strategy
/contributing/content-style-guide.md @github/docs-content-strategy
/contributing/content-model.md @github/docs-content-strategy
/contributing/content-style-guide.md @github/docs-content-strategy
/contributing/content-templates.md @github/docs-content-strategy

# Make sure that Octokit maintainers get notified about changes
# relevant to the Octokit libraries (https://github.com/octokit)
Expand Down
24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/production-config-change.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Closes [issue link]

### Check off the following:

- [ ] I have reviewed my changes in staging (look for the **deploy-to-heroku** link in your pull request, then click **View deployment**).
- [ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click **View deployment**).
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/CONTRIBUTING.md#self-review).

### Writer impact (This section is for GitHub staff members only):
Expand Down
6 changes: 4 additions & 2 deletions .github/actions-scripts/create-enterprise-issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ async function run () {
process.exit(1)
}

const repoToOpenIssue = milestone === 'release' ? 'docs-content' : 'docs-engineering'

// Milestone-dependent values.
const numberOfdaysBeforeMilestoneToOpenIssue = milestone === 'release'
? numberOfdaysBeforeReleaseToOpenIssue
Expand Down Expand Up @@ -71,7 +73,7 @@ async function run () {
}

const milestoneSteps = fs.readFileSync(path.join(process.cwd(), `.github/actions-scripts/enterprise-server-issue-templates/${milestone}-issue.md`), 'utf8')
const issueLabels = [`enterprise ${milestone}`, `engineering`]
const issueLabels = [`enterprise ${milestone}`]
const issueTitle = `[${nextMilestoneDate}] Enterprise Server ${versionNumber} ${milestone} (technical steps)`

const issueBody = `GHES ${versionNumber} ${milestone} occurs on ${nextMilestoneDate}.
Expand All @@ -85,7 +87,7 @@ async function run () {
try {
issue = await octokit.request('POST /repos/{owner}/{repo}/issues', {
owner: 'github',
repo: 'docs-internal',
repo: repoToOpenIssue,
title: issueTitle,
body: issueBody,
labels: issueLabels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@
```
script/enterprise-server-release/create-webhook-files.js --oldVersion <PLAN@RELEASE> --newVersion <PLAN@RELEASE>
```
- [ ] Create a placeholder release notes file called `data/release-notes/<RELEASE NUMBER>/PLACEHOLDER.yml`. For example `data/release-notes/3-1/PLACEHOLDER.yml`. Add the following placeholder content to the file:
```
date: '2021-05-04'
release_candidate: true
deprecated: false
intro: PLACEHOLDER
sections:
bugs:
- PLACEHOLDER
known_issues:
- PLACEHOLDER
```
**Note:** All of the content in this file will be updated when the release notes are created in the megabranch including the filename `PLACEHOLDER.yml`. You can update the date or leave it as-is and wait to update it when the release notes are finalized.
- [ ] Create the Algolia search indices for the new release:
```
npm run sync-search-ghes-release
```

Check in the updated `lib/search/cached-index-names.json`.
- [ ] (Optional) Add a Release Candidate banner:
```
script/enterprise-server-releases/release-banner.js --action create --version <PLAN@RELEASE>
Expand All @@ -39,17 +58,40 @@
- [ ] Update the `externalDocs.url` property in that file to use the new GHES release number.
- [ ] Copy the previous release's configuration file to a new configuration file for this release `cp app/api/description/config/releases/ghes-<LATEST RELEASE NUMBER>.yaml app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`.
- [ ] Update the `variables.externalDocsUrl`, `variables.ghesVersion`, and `patch.[].value.url` in that file to use the new GHES release number.
- [ ] Update `published` in that file to `false`. **Note:** This is important to ensure that 3.1 OpenAPI changes are not made public until 3.1 is released.
- [ ] Update `published` in that file to `false`. **Note:** This is important to ensure that changes for the next version of the OpenAPI schema changes are not made public until the new version is released.
- [ ] Create a second PR based on the PR created ☝️ that toggles `published` to `true` in the `app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml` file. When this PR merges it will publish the new release to the `github/rest-api-description` repo and will trigger a pull request in the `github/docs-internal` repo with the schemas for the next GHES release. There is a step in this list to merge that PR in the "Before shipping the release branch" section.

### Maintaining this template

- [ ] If you notice that any of these steps become out-of-date, open a pull request to update this [issue template](https://github.com/github/docs-internal/blob/main/.github/actions-scripts/enterprise-server-issue-templates/release-issue.md).

#### Troubleshooting
### Troubleshooting

If the `OpenAPI dev mode check / check-schema-versions` check fails on the release branch, in your local checkout of the mega branch:
#### `OpenAPI dev mode check / check-schema-versions` failures

If the `OpenAPI dev mode check / check-schema-versions` check fails with the following message:
> :construction::warning: 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'

- run `git checkout origin/main lib/rest/static/*`
- run `script/rest/update-files.js --decorate-only`
- run `script/enterprise-server-releases/create-rest-files.js --oldVersion enterprise-server@<LATEST PUBLIC RELEASE NUMBER> --newVersion enterprise-server@<NEW RELEASE NUMBER>`
- push the resulting changes

#### `Node.js tests / test content` failures

If the `Node.js tests / test content` check fails with the following message, the `lib/enterprise-dates.json` file is not up-to-date:
> FAIL tests/content/algolia-search.js ● algolia › has remote indexNames in every language for every supported GHE version

This file should be automatically updated, but you can also run `script/update-enterprise-dates.js` to update it. **Note:** If the test is still failing after running this script, look at the dates for this release. If the date is still inaccurate, it may be an issue with the source at https://github.com/github/enterprise-releases/blob/master/docs/supported-versions.md#release-lifecycle-dates. If that is the case, manually update the dates in the `lib/enterprise-dates.json` file.

### Before shipping the release branch

- [ ] Add the GHES release notes to `data/release-notes/` and update the versioning frontmatter in `content/admin/release-notes.md` to `enterprise-server: '<=<RELEASE>'`
- [ ] In `github/github`, open a PR to change `published` to `true` in `app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`. Get the required approval from `@github/ecosystem-api-reviewers` then deploy to dotcom. This process generally takes 30-90 minutes. Ask in `#docs-ecosystem` if you need help with this.
- [ ] Alert the Neon Squad (formally docs-ecosystem team) 1-2 days before the release to deploy to `github/github`. A PR should already be open in `github/github`, to change `published` to `true` in `app/api/description/config/releases/ghes-<NEXT RELEASE NUMBER>.yaml`. They will need to:
- [ ] Get the required approval from `@github/ecosystem-api-reviewers` then deploy the PR to dotcom. This process generally takes 30-90 minutes.
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains both the derefrenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch.
- [ ] Add a blocking review to the auto-generated "Update OpenAPI Descriptions" PR in the public REST API description. (Remove this blocking review once the GHES release ships.)

### 🚢 🛳️ 🚢 Shipping the release branch

- [ ] The `github/docs-internal` repo is frozen, and the `Repo Freeze Check / Prevent merging during deployment freezes (pull_request_target)` test is expected to fail. Use admin permissions to ship the release branch with this failure.
- [ ] Once smoke tests have passed, you can unfreeze the repos by deleting the `FREEZE` secret in both the `github/docs-internal` and `github/docs` repos. To delete the secrets, click the repo **Settings** tab and then click **Secrets** in the left sidebar. Click **Remove** next to the `FREEZE` secret.
5 changes: 2 additions & 3 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
module.exports = [
"actions/cache@0781355a23dac32fd3bac414512f4b903437991a", // v2.1.3
"actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f", // v2.3.4
"actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9", // v3.0.0
"actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d", // v4.0.2
"actions/labeler@5f867a63be70efff62b767459b009290364495eb", // v2.2.0
"actions/setup-node@c46424eee26de4078d34105d3de3cc4992202b1e", // v2.1.4
"actions/setup-python@dc73133d4da04e56a135ae2246682783cc7c7cb6", // v2.2.2
"ruby/setup-ruby@fdcfbcf14ec9672f6f615cb9589a1bc5dd69d262", // v1.64.1
"actions/stale@9d6f46564a515a9ea11e7762ab3957ee58ca50da", // v3.0.16
"alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9",
"andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84",
Expand All @@ -29,7 +28,7 @@ module.exports = [
"lee-dohm/close-matching-issues@22002609b2555fe18f52b8e2e7c07cbf5529e8a8",
"lee-dohm/no-response@9bb0a4b5e6a45046f00353d5de7d90fb8bd773bb",
"pascalgn/automerge-action@c9bd1823770819dc8fb8a5db2d11a3a95fbe9b07", // v0.12.0
"peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326",
"peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e",
"peter-evans/create-or-update-comment@5221bf4aa615e5c6e95bb142f9673a9c791be2cd",
"peter-evans/create-pull-request@8c603dbb04b917a9fc2dd991dc54fef54b640b43",
"rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9",
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-all-english-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ jobs:
- if: ${{ failure() }}
name: Create issue from file
id: broken-link-report
uses: peter-evans/create-issue-from-file@a04ce672e3acedb1f8e416b46716ddfd09905326
uses: peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e
with:
token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
title: ${{ steps.check.outputs.title }}
content-filepath: ./broken_links.md
repository: github/docs-content
labels: broken link report
- if: ${{ failure() }}
name: Add comment to issue
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-for-spammy-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.repository == 'github/docs'
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
script: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/confirm-internal-staff-work-in-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
if: github.repository == 'github/docs' && github.actor != 'docs-bot'
steps:
- id: membership_check
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
env:
TEAM_CONTENT_REPO: ${{ secrets.TEAM_CONTENT_REPO }}
with:
github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
script: |
Expand Down Expand Up @@ -59,9 +61,9 @@ jobs:
// Create an issue in our private repo
await github.issues.create({
owner: 'github',
repo: 'docs-internal',
repo: process.env.TEAM_CONTENT_REPO,
title: `@${context.payload.sender.login} confirm that \#${issueNo} should be in the public github/docs repo`,
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/docs-internal repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks! \n\n/cc @github/docs @github/docs-engineering`,
body: `@${context.payload.sender.login} opened https://github.com/github/docs/issues/${issueNo} publicly in the github/docs repo, instead of the private github/docs-internal repo.\n\n@${context.payload.sender.login}, please confirm that this belongs in the public repo and that no sensitive information was disclosed by commenting below and closing the issue.\n\nIf this was not intentional and sensitive information was shared, please delete https://github.com/github/docs/issues/${issueNo} and notify us in the \#docs-open-source channel.\n\nThanks!`,
labels: ['OS confirmation'],
});

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/copy-api-issue-to-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
if: github.event.label.name == 'rest-description' && github.repository == 'github/docs'
steps:
- name: Check if this run was triggered by a member of the docs team
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
id: triggered-by-member
with:
github-token: ${{secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/first-responder-docs-content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: Check if the event originated from a team member
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
id: set-result
with:
github-token: ${{secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES}}
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

steps:
- name: Remove card from project
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
github-token: ${{secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES}}
result-encoding: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check-dotcom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
steps:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check-ghae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
steps:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-check-ghes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build:
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
steps:
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
# Even if if doesn't do anything
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merged-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: github.repository == 'github/docs' && github.event.pull_request.merged && github.event.pull_request.base.ref == github.event.repository.default_branch
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
- uses: actions/github-script@2b34a689ec86a68d8ab9478298f91d5401337b7d
with:
script: |
github.issues.createComment({
Expand Down
Loading