Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1076 commits
Select commit Hold shift + click to select a range
04cd178
Update GraphQL authentication content (#33245)
loujr Dec 9, 2022
d479c4c
[Improvement] Add content about the pros and cons of implementing SAM…
rachaelrenk Dec 9, 2022
712361f
Merge pull request #22581 from github/repo-sync
Octomerger Dec 9, 2022
d2d8b42
Added "Force deleting cache entries" section (#33283)
t-dedah Dec 10, 2022
8cb9eef
Merge pull request #22582 from github/repo-sync
Octomerger Dec 10, 2022
910a717
spelling error in intro paragraph
clxmente Dec 10, 2022
ebfa859
New translation batch for es (#33415)
docubot Dec 10, 2022
5195895
New translation batch for ja (#33416)
docubot Dec 10, 2022
5b92a52
New translation batch for pt (#33417)
docubot Dec 10, 2022
22a0f0e
Merge pull request #22604 from github/repo-sync
Octomerger Dec 10, 2022
b0ff02a
New translation batch for cn (#33418)
docubot Dec 10, 2022
a4f8be5
New translation batch for ru (#33420)
docubot Dec 10, 2022
bcd2d89
New translation batch for ko (#33421)
docubot Dec 10, 2022
212d81d
New translation batch for fr (#33422)
docubot Dec 10, 2022
039221d
Merge pull request #22605 from github/repo-sync
Octomerger Dec 10, 2022
9f1d109
Fix RateLimit.resetAt format
FiloSottile Dec 10, 2022
37fc4b8
New translation batch for de (#33424)
docubot Dec 10, 2022
1ebb1fd
Merge pull request #22608 from github/repo-sync
Octomerger Dec 10, 2022
e6dd115
New translation batch for es (#33426)
docubot Dec 11, 2022
e1d888b
New translation batch for ja (#33427)
docubot Dec 11, 2022
701d465
New translation batch for pt (#33428)
docubot Dec 11, 2022
45432f9
New translation batch for cn (#33429)
docubot Dec 11, 2022
8c551c1
New translation batch for ru (#33430)
docubot Dec 11, 2022
478d8bf
New translation batch for ko (#33431)
docubot Dec 11, 2022
084279f
New translation batch for fr (#33432)
docubot Dec 11, 2022
7438053
New translation batch for de (#33433)
docubot Dec 11, 2022
1390aa0
Remove shell injection in example (#22568)
soliton- Dec 12, 2022
3b3d73d
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
f0d61ec
Merge pull request #33435 from github/repo-sync
Octomerger Dec 12, 2022
4106992
bump actions/setup-node from 3.2.0 to 3.5.1 (#33410)
rsese Dec 12, 2022
64b3fcb
clone docs-internal.ko-kr in Azure prod deploys (#33351)
Dec 12, 2022
751950e
Merge pull request #22618 from github/repo-sync
Octomerger Dec 12, 2022
954e13b
Enterprise bug fixes for the week of December 5, 2022 (#33279)
lecoursen Dec 12, 2022
60ad453
Merge pull request #22619 from github/repo-sync
Octomerger Dec 12, 2022
10bc5e4
Merge pull request #22620 from github/repo-sync
Octomerger Dec 12, 2022
951ab51
Move variable relating to Dependency Review outside the `product.yml`…
mchammer01 Dec 12, 2022
e523b7c
Add the Dependabot alerts REST API to GHES 3.8 (#33237)
laserlemon Dec 12, 2022
966cbb2
Update OpenAPI Descriptions (#33438)
github-openapi-bot Dec 12, 2022
59771e7
Fix bullet point for 3.7.0 changes section (#33404)
djdefi Dec 12, 2022
0c9053b
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
803715b
Merge pull request #22622 from github/repo-sync
Octomerger Dec 12, 2022
f04e890
correct actions/checkout sha for translation clone (#33440)
Dec 12, 2022
376a31c
New translation batch for es (#33448)
docubot Dec 12, 2022
bcdc32c
New translation batch for ja (#33450)
docubot Dec 12, 2022
1bb59a9
script to find unicorn action SHAs (#33446)
Dec 12, 2022
cb24525
New translation batch for pt (#33451)
docubot Dec 12, 2022
ce15127
New translation batch for cn (#33452)
docubot Dec 12, 2022
1608f66
New translation batch for ru (#33454)
docubot Dec 12, 2022
1aa9e01
New translation batch for ko (#33455)
docubot Dec 12, 2022
873210c
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
d5ebb94
Merge pull request #22623 from github/repo-sync
Octomerger Dec 12, 2022
056b83f
New translation batch for fr (#33456)
docubot Dec 12, 2022
df0ae56
New translation batch for de (#33458)
docubot Dec 12, 2022
94399d6
Update billing language for GHAS (#32109)
jc-clark Dec 12, 2022
218ad95
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
b1228be
Merge pull request #22625 from github/repo-sync
Octomerger Dec 12, 2022
270688d
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
e718370
Merge pull request #22626 from github/repo-sync
Octomerger Dec 12, 2022
d35fc2b
Update github-flow.md
dhohirpradana Dec 12, 2022
a34e810
upgrade actions/cache to v3.0.11 (#33462)
Dec 12, 2022
24abb19
use the same azure/login SHA (#33463)
Dec 12, 2022
e78eb19
account for non-object example values in rest docs (#33411)
rachmari Dec 12, 2022
92f44d7
Merge pull request #22628 from github/repo-sync
Octomerger Dec 12, 2022
af79c96
npm install is faster than npm ci (#33459)
Dec 12, 2022
b2b3358
Merge pull request #22629 from github/repo-sync
Octomerger Dec 12, 2022
2fd7e0f
Revert "account for non-object example values in rest docs" (#33468)
rachmari Dec 12, 2022
edf3e39
add vNext option for opeanpi generation (#33413)
rachmari Dec 12, 2022
c9aeca4
Merge pull request #22630 from github/repo-sync
Octomerger Dec 12, 2022
b476eb4
show media type for REST examples dropdown (#33425)
rsese Dec 12, 2022
ae6f81a
Merge pull request #22631 from github/repo-sync
Octomerger Dec 12, 2022
b266b64
Merge branch 'main' into patch-1
cmwilson21 Dec 12, 2022
a76cfc7
unbreak the translation tests (#33474)
Dec 12, 2022
8486038
Merge pull request #22627 from dhohirpradana/patch-1
cmwilson21 Dec 12, 2022
da26b85
Merge branch 'main' into patch-1
cmwilson21 Dec 12, 2022
34b2116
Merge pull request #22599 from clxmente/patch-1
cmwilson21 Dec 12, 2022
54022f1
Merge pull request #22632 from github/repo-sync
Octomerger Dec 12, 2022
3af281f
Merge branch 'main' into repo-sync
Octomerger Dec 12, 2022
320b8b2
Merge pull request #33475 from github/repo-sync
Octomerger Dec 12, 2022
8c22996
adds warning for 2fa
scarletspiderfan Dec 12, 2022
b764d4b
fixed small typo in phase 1 description
CallMeGreg Dec 13, 2022
37644c8
Fix Docker example errors and make it POSIX compliant (#22635)
lucascosti Dec 13, 2022
0290af7
Merge pull request #22638 from github/repo-sync
Octomerger Dec 13, 2022
ae5da85
Merge branch 'main' into repo-sync
Octomerger Dec 13, 2022
caabbff
Merge pull request #33481 from github/repo-sync
Octomerger Dec 13, 2022
5d1f58c
fixed typo in adopting GHAS phase 4
CallMeGreg Dec 13, 2022
aeed305
Amend on.workflow_call.secrets, fixes #22602 (#22603)
bkleinen Dec 13, 2022
b43e7c0
Merge pull request #22654 from github/repo-sync
Octomerger Dec 13, 2022
6e1cfea
Merge branch 'main' into repo-sync
Octomerger Dec 13, 2022
0c0f95a
Merge pull request #33484 from github/repo-sync
Octomerger Dec 13, 2022
23dc6dd
GitHub Actions: Allow sharing Actions and workflows in private repos …
Dec 13, 2022
e4fe8f8
Merge pull request #22660 from github/repo-sync
Octomerger Dec 13, 2022
7df3f2c
clone all languages for production build (#33473)
Dec 13, 2022
7c6270b
speed up sync-search-pr with faster 'npm install' (#33466)
Dec 13, 2022
6b041de
Merge pull request #22663 from github/repo-sync
Octomerger Dec 13, 2022
abd5d3e
Update configuring-saml-single-sign-on-and-scim-using-okta.md
sophietheking Dec 13, 2022
a117bb3
Update Applying to GitHub Global Campus (#33434)
shweta-ms Dec 13, 2022
4b434e7
Merge branch 'main' into patch-1
sophietheking Dec 13, 2022
c0c62b3
Merge branch 'main' into patch-1
sophietheking Dec 13, 2022
28a9408
Merge branch 'main' into main
sophietheking Dec 13, 2022
8c1aa57
Merge pull request #22579 from adamrr724/patch-1
sophietheking Dec 13, 2022
ddca527
Merge branch 'main' into patch-1
sophietheking Dec 13, 2022
818e932
Merge pull request #22667 from github/repo-sync
Octomerger Dec 13, 2022
d35e8b7
Merge branch 'main' into main
sophietheking Dec 13, 2022
58f1ef4
Merge pull request #22640 from CallMeGreg/main
sophietheking Dec 13, 2022
0b2879c
Merge branch 'main' into patch-1
sophietheking Dec 13, 2022
9dd4e3f
Add content for GHAS billing table UI updates (#33494)
sabrowning1 Dec 13, 2022
6a7c13c
Merge pull request #22637 from CallMeGreg/patch-1
sophietheking Dec 13, 2022
786ac14
New translation batch for es (#33498)
docubot Dec 13, 2022
d36762e
New translation batch for ja (#33500)
docubot Dec 13, 2022
43404cf
Merge pull request #22668 from github/repo-sync
Octomerger Dec 13, 2022
d423e61
New translation batch for pt (#33501)
docubot Dec 13, 2022
a2e7be6
Merge pull request #33496 from github/repo-sync
Octomerger Dec 13, 2022
0757e57
New translation batch for ru (#33503)
docubot Dec 13, 2022
35e32ac
Merge pull request #22669 from github/repo-sync
Octomerger Dec 13, 2022
1e6eb67
New translation batch for ko (#33504)
docubot Dec 13, 2022
c661e9b
New translation batch for de (#33508)
docubot Dec 13, 2022
cbfbfae
Merge pull request #33510 from github/repo-sync
Octomerger Dec 13, 2022
d4d527d
Merge pull request #22670 from github/repo-sync
Octomerger Dec 13, 2022
ac8609d
Merge pull request #22672 from github/repo-sync
Octomerger Dec 13, 2022
48524a0
[2022-12-13]: Dependabot does not access public registries when the u…
sophietheking Dec 13, 2022
85c0013
Create code security and analysis sub category within enterprise admi…
odannyc Dec 13, 2022
50e499e
Roadmaps layout for Projects (#33266)
guntrip Dec 13, 2022
502af8f
Dependabot does not access public registries when the user has con…
mchammer01 Dec 13, 2022
8fca75d
Merge pull request #22674 from github/repo-sync
Octomerger Dec 13, 2022
4b5caeb
Update links to docs-content templates (#33350)
lecoursen Dec 13, 2022
82a5519
Update OpenAPI Descriptions (#33512)
github-openapi-bot Dec 13, 2022
5dabae3
remove openapi dereferenced static files (#33297)
rachmari Dec 13, 2022
75d23fb
Update popular-pages.json December 2022 (#33489)
Dec 13, 2022
4f8f469
Unify language in the API docs for search (#33364)
Dec 13, 2022
64b96cd
Unify language in the API docs for code of conduct, emojis, marksown,…
Dec 13, 2022
1b9edff
Merge pull request #22675 from github/repo-sync
Octomerger Dec 13, 2022
67cfff4
GHES Patch Release Notes (#33497)
release-controller[bot] Dec 13, 2022
529af4c
Merge branch 'main' into repo-sync
Octomerger Dec 13, 2022
91440b8
Merge pull request #22677 from github/repo-sync
Octomerger Dec 13, 2022
23b8e66
update validation for openapi script (#33521)
rachmari Dec 13, 2022
6f9ef55
Merge pull request #22678 from github/repo-sync
Octomerger Dec 13, 2022
3dd5aaf
automatically close openapi PRs with no changes (#33532)
rachmari Dec 14, 2022
30adcf1
Add raw tags to Dependabot Actions code (#33534)
lucascosti Dec 14, 2022
7a2946e
Merge pull request #22679 from github/repo-sync
Octomerger Dec 14, 2022
b299da9
prevent steps from continuing if openapi prs are closed (#33535)
rachmari Dec 14, 2022
8381c29
Merge pull request #22680 from github/repo-sync
Octomerger Dec 14, 2022
0c1e83d
show the docker-compose.prod.yaml file before setting canary (#33540)
Dec 14, 2022
f36a378
must run on pushes to make cache warm (#33491)
Dec 14, 2022
a4add26
delete some orphaned assets (codespaces) (#33479)
Dec 14, 2022
707271a
more exceptions when looking for orphaned assets (#33478)
Dec 14, 2022
c282044
Merge pull request #22687 from github/repo-sync
Octomerger Dec 14, 2022
e5d44f9
Add info on using github.dev behind a firewall (#33184)
hubwriter Dec 14, 2022
9606cf1
Merge branch 'main' into patch-1
cmwilson21 Dec 14, 2022
5cf1c21
Merge pull request #22606 from FiloSottile/patch-1
cmwilson21 Dec 14, 2022
94223ae
Merge branch 'main' into repo-sync
Octomerger Dec 14, 2022
4316c01
Merge pull request #33547 from github/repo-sync
Octomerger Dec 14, 2022
7de78ae
Adds content for Single-repo enablement panel for security overview c…
subatoi Dec 14, 2022
56afeff
Fix category for one of changes in `3.4.1` (#33533)
catto Dec 14, 2022
4893e2c
New translation batch for es (#33550)
docubot Dec 14, 2022
8230cfc
[2022-12-13]: Secret scanning: Enterprise level enablement REST API -…
sophietheking Dec 14, 2022
a3cae4e
Merge pull request #22693 from github/repo-sync
Octomerger Dec 14, 2022
ac32793
New translation batch for ja (#33551)
docubot Dec 14, 2022
6032203
New translation batch for pt (#33552)
docubot Dec 14, 2022
87cdab9
[2022-12-14] User dormancy report for GHEC (#33408)
rachaelrenk Dec 14, 2022
4e93264
Merge pull request #22694 from github/repo-sync
Octomerger Dec 14, 2022
ebe9ad5
New translation batch for cn (#33553)
docubot Dec 14, 2022
57b6b32
New translation batch for ru (#33554)
docubot Dec 14, 2022
ecc8470
New translation batch for ko (#33556)
docubot Dec 14, 2022
f6d1136
New translation batch for fr (#33557)
docubot Dec 14, 2022
c095cd0
New translation batch for de (#33558)
docubot Dec 14, 2022
8e061d1
Merge pull request #22695 from github/repo-sync
Octomerger Dec 14, 2022
aa3b224
Revert "show the docker-compose.prod.yaml file before setting canary"…
Dec 14, 2022
e754cd5
Merge pull request #22696 from github/repo-sync
Octomerger Dec 14, 2022
2b38ae4
Merge branch 'main' into repo-sync
Octomerger Dec 14, 2022
68ad1c7
Merge pull request #22697 from github/repo-sync
Octomerger Dec 14, 2022
e7983eb
Use zh as language code instead of cn (#33560)
heiskr Dec 14, 2022
9332bc6
New event schema for hover and scroll flip (#33546)
heiskr Dec 14, 2022
30b7794
Merge pull request #22698 from github/repo-sync
Octomerger Dec 14, 2022
20cc8ff
set the default languages for prod in the Dockerfile (#33565)
Dec 14, 2022
82a252d
delete assets/images/participating-watching-subscriptions.png (#33564)
Dec 14, 2022
5b2c438
stop making it possible to set ENABLED_LANGUAGES beyond the hardcoded…
Dec 14, 2022
97ae365
Merge pull request #22699 from github/repo-sync
Octomerger Dec 14, 2022
78686dc
Merge pull request #22700 from github/repo-sync
Octomerger Dec 14, 2022
4a5b14c
Update adding-organizations-to-your-enterprise.md
scarletspiderfan Dec 14, 2022
acea4ff
include breadcrumbs in MINIMAL_RENDER layout (#33569)
Dec 14, 2022
7b633ce
Fix URL for Microsoft Edge (#33543)
lecoursen Dec 14, 2022
7da39b4
Improve formatting for links section of style guide (#31878)
ethanpalm Dec 14, 2022
eb8e941
Unify language in the API docs for commits (#33369)
jhosman Dec 14, 2022
c1f0d4c
Merge branch 'main' into repo-sync
Octomerger Dec 14, 2022
fb6d40c
Merge pull request #22702 from github/repo-sync
Octomerger Dec 14, 2022
67bd83d
Merge pull request #22705 from github/repo-sync
Octomerger Dec 14, 2022
26e22af
include the data-search=breadcrumbs (#33576)
Dec 15, 2022
ae4f134
Merge pull request #22708 from github/repo-sync
Octomerger Dec 15, 2022
60b6919
Add maximum number of referenced workflows limit (#33581)
gitulisca Dec 15, 2022
e52ac8a
Merge branch 'main' into repo-sync
Octomerger Dec 15, 2022
6382cc7
Merge pull request #22711 from github/repo-sync
Octomerger Dec 15, 2022
ad48cd8
Bump swr from 1.3.0 to 2.0.0 (#33527)
dependabot[bot] Dec 15, 2022
0c0f0a5
Merge pull request #22712 from github/repo-sync
Octomerger Dec 15, 2022
50b7f7e
Add :nail_care:
lecoursen Dec 15, 2022
1b730f0
Merge branch 'main' into main
lecoursen Dec 15, 2022
40b4495
Merge pull request #22634 from scarletspiderfan/main
lecoursen Dec 15, 2022
6f437f3
Merge pull request #33591 from github/repo-sync
Octomerger Dec 15, 2022
14bf19e
Add footnote on Action URLs (#33516)
Nishnha Dec 15, 2022
7a9debd
[December 15, 2022] - Secret Scanning Experience for Free Public Repo…
mchammer01 Dec 15, 2022
5d4f0f3
New translation batch for es (#33593)
docubot Dec 15, 2022
ba9dcc1
Merge pull request #22713 from github/repo-sync
Octomerger Dec 15, 2022
daf6a54
Create "About GitHub Enterprise Cloud" (#33284)
lecoursen Dec 15, 2022
04f3e21
New translation batch for pt (#33594)
docubot Dec 15, 2022
06dc5e0
Merge pull request #22714 from github/repo-sync
Octomerger Dec 15, 2022
54ba810
New translation batch for ru (#33595)
docubot Dec 15, 2022
b1c0539
New translation batch for fr (#33596)
docubot Dec 15, 2022
3996bfc
New translation batch for de (#33597)
docubot Dec 15, 2022
4674457
Merge pull request #22715 from github/repo-sync
Octomerger Dec 15, 2022
a6676bc
remove left-over debugging about what ENABLED_LANGUAGES becomes (#33587)
Dec 15, 2022
42e64d4
empty commit for early access ruleset doc updates (#33529)
jschnapper Dec 15, 2022
66297c2
December 2022 Privacy Statement Update (#33321)
danibrooks Dec 15, 2022
46ff39c
Merge pull request #22717 from github/repo-sync
Octomerger Dec 15, 2022
5c73e13
remove cheerioObject option (#33585)
Dec 15, 2022
3f272fe
Merge pull request #22719 from github/repo-sync
Octomerger Dec 15, 2022
5177a28
Unify language in the API docs for pulls (#33171)
jhosman Dec 15, 2022
898cfc6
Unify language in the API docs for "Overview" (#33376)
jhosman Dec 15, 2022
c4f817b
Merge branch 'main' into repo-sync
Octomerger Dec 15, 2022
825686f
Merge pull request #22720 from github/repo-sync
Octomerger Dec 15, 2022
b348da3
[2022-12-15] Replace Atom repo example with Docs repo (#31256)
sabrowning1 Dec 15, 2022
accfd41
[2022-12-15] Sunset Atom in the Site Policy docs (#31250)
sabrowning1 Dec 15, 2022
1792eca
Unify language in API docs for Deploy keys, Dependabot, Dependency re…
saritai Dec 15, 2022
2533776
[Content folks: Merge when ready] Remove atom from sidebar (#31286)
gracepark Dec 15, 2022
2ba477c
Merge pull request #22722 from github/repo-sync
Octomerger Dec 15, 2022
653cc1d
Remove final mention of Atom (#33613)
sabrowning1 Dec 15, 2022
e0ecbf4
Update Premium Support details (#33606)
lecoursen Dec 15, 2022
8497e3f
Merge branch 'main' into repo-sync
Octomerger Dec 15, 2022
7d522de
Merge pull request #22723 from github/repo-sync
Octomerger Dec 15, 2022
f76864b
Clarify that EMUs requires SCIM (#33493)
lecoursen Dec 15, 2022
3c99892
Merge branch 'main' into repo-sync
Octomerger Dec 15, 2022
e592453
Merge pull request #22724 from github/repo-sync
Octomerger Dec 15, 2022
d96e28f
Merge branch 'main' into repo-sync
Octomerger Dec 15, 2022
07d068f
Merge pull request #22725 from github/repo-sync
Octomerger Dec 15, 2022
fdd40ae
Add `pull requests from`
jsoref Dec 16, 2022
1aec96a
[2022-12-01]: GitHub Actions: Ubuntu 22.04 as Latest Server Image (#3…
SiaraMist Dec 16, 2022
25f723f
Merge pull request #22731 from github/repo-sync
Octomerger Dec 16, 2022
c1b60c0
[Improvement]: Add About GitHub Copilot for Business article (#33488)
sophietheking Dec 16, 2022
da13dae
Merge pull request #22732 from github/repo-sync
Octomerger Dec 16, 2022
c03a6e0
Create new yml file for secret scanning variables that aren't product…
mchammer01 Dec 16, 2022
d2aadf5
Merge pull request #22733 from github/repo-sync
Octomerger Dec 16, 2022
fb51b89
Document minimal neovim version for Copilot (#21726)
Kixunil Dec 16, 2022
17d025d
Merge pull request #33627 from github/repo-sync
Octomerger Dec 16, 2022
feea29b
Add troubleshoot guide for all Copilot editors (#33487)
Dec 16, 2022
b71f28c
Merge pull request #22735 from github/repo-sync
Octomerger Dec 16, 2022
30ab758
Add links to other language projects (#33626)
hubwriter Dec 16, 2022
9f084b5
Added What is a Gist (#22080)
Kristianwhittick Dec 16, 2022
830b15f
Merge branch 'main' into repo-sync
Octomerger Dec 16, 2022
d39932c
Merge pull request #22736 from github/repo-sync
Octomerger Dec 16, 2022
2f7efca
Change `GITHUB_TOKEN` fork permission description (#22730)
lucascosti Dec 16, 2022
138fc16
Merge branch 'main' into issue-22492
sabrowning1 Dec 16, 2022
774b006
Merge pull request #22729 from jsoref/issue-22492
sabrowning1 Dec 16, 2022
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.
7 changes: 7 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4000],

"portsAttributes": {
"4000": {
"label": "Preview",
"onAutoForward": "openPreview"
}
},

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "git lfs pull && npm ci",
Expand Down
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ docs/
node_modules/
script/
tests/
lib/rest/static/dereferenced
# Folder is cloned during the preview + prod workflows, the assets are merged into other locations for use before the build
docs-early-access/
# During the preview deploy untrusted user code may be cloned into this directory
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Thank you for contributing to this project! You must fill out the information be

### Why:

Closes [issue link]
Closes ISSUE

<!-- If there's an existing issue for your change, please link to it in the brackets above.
<!-- If there's an existing issue for your change, please replace ISSUE above with a link to the issue.
If there's _not_ an existing issue, please open one first to make it more likely that this update will be accepted: https://github.com/github/docs/issues/new/choose. -->

### What's being changed (if available, include any code snippets, screenshots, or gifs):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ The following large repositories are used throughout this checklist, it may be u
- `github/github`
- `github/docs-internal`

Additionally, you may want to download:
Additionally, download:

- [Azure Storage Explorer](https://aka.ms/portalfx/downloadstorageexplorer)

## Step 0: Remove deprecated version numbers from docs-content issue forms

**Note**: This step can be performed independently of all other steps, and can be done several days before or along with the other steps.

- [ ] In the `docs-content` repo, remove the deprecated GHES version number from the `options` list in the following files (in the `.github/ISSUE_TEMPLATE/` directory): [`release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml).
- [ ] In the `docs-content` repo, remove the deprecated GHES version number from the `options` list in [`release-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tracking.yml).
- [ ] When the PR is approved, merge it in. This can be merged independently from all other steps.

## Step 1: Scrape the docs and archive the files
Expand All @@ -40,7 +40,7 @@ Additionally, you may want to download:

**Note:** You can pass the `--dry-run` flag to scrape only the first 10 pages plus their redirects for testing purposes. **If you use the dry run command, be sure to run the full script without `--dry-run` before you commit the changes.**

## Step 3: Manually remove the search input from the archived docs
## Step 2: Manually remove the search input from the archived docs

- [ ] Search for `site-search-input` in the compressed Javascript files (should find the file in the `_next` directory). When you find it, use something like https://beautifier.io/ or VSCode to reformat it to be readable. To reformat using VSCode, use the "Format document" option or <kbd>Shift</kbd>+<kbd>Option</kbd>+<kbd>F</kbd>. Find `site-search-input` in the file, the result will be enclosed in a function that looks something like... `(0,f.jsx)("input",{"data-testid":"site-search-input",` Delete the entire function. For example, this:
```
Expand Down Expand Up @@ -88,7 +88,7 @@ Additionally, you may want to download:
```
- [ ] Save the file. If using beautifier, copy and paste the updated file back into your temp directory with the scraped archive content.

## Step 2: Upload the scraped content directory to Azure storage
## Step 3: Upload the scraped content directory to Azure storage

- [ ] Log in to the Azure portal from Okta. Navigate to the [githubdocs Azure Storage Blob resource](https://portal.azure.com/#@githubazure.onmicrosoft.com/resource/subscriptions/fa6134a7-f27e-4972-8e9f-0cedffa328f1/resourceGroups/docs-production/providers/Microsoft.Storage/storageAccounts/githubdocs/overview).
- [ ] Click the "Open in Explorer" button to the right of search box. If you haven't already, click the download link to download "Microsoft Azure Storage Explorer." To login to the app, click the plug icon in the left sidebar and click the option to "add an azure account." When you login, you'll need a yubikey to authenticate through Okta.
Expand All @@ -97,7 +97,11 @@ Additionally, you may want to download:
- [ ] Check the log to ensure all files were uploaded successfully.
- [ ] Remove the temporarily created directory from your `github/docs-internal` checkout.

## Step 4: Deprecate the version in docs-internal
## Step 4: Create a tag and long-running branch

Create a new tag for the most recent commit on the `main` branch so that we can keep track of where in commit history we removed the GHES release. Create a tag called `enterprise-<release number>-release`. Then from that commit on `main` create a new branch called `enterprise-<release number>-release`. This branch will be long-lived and used to rerender and scrape content that is added after a release is deprecated.

## Step 5: Deprecate the version in docs-internal

In your `docs-internal` checkout:

Expand All @@ -111,7 +115,7 @@ You can test that the static pages were generated correctly on localhost and on

Poke around several pages, ensure that the stylesheets are working properly, images are rendering properly, and that the search functionality was disabled.

## Step 5: Remove static files for the version
## Step 6: Remove static files for the version

**Note:** We do not remove the old content for GHES release notes. New release notes can be added after we perform a deprecation in some rare cases, and not removing this content makes it easier for us to re-scrape the content to add to Azure Blob Storage.

Expand All @@ -121,7 +125,7 @@ Poke around several pages, ensure that the stylesheets are working properly, ima
- [ ] Open a new PR.
- [ ] Get a review from docs-engineering and merge. This step can be merged independently from step 6. The purpose of splitting up steps 5 and 6 is to focus the review on specific files.

## Step 6: Remove the liquid conditionals and content for the version
## Step 7: Remove the liquid conditionals and content for the version

- [ ] In your `docs-internal` checkout, create a new branch `remove-<version>-markup` branch: `git checkout -b remove-<version>-markup` (you can branch off of `main` or from your `deprecate-<version>` branch, up to you).
- [ ] Remove the outdated Liquid markup and frontmatter.
Expand All @@ -131,17 +135,31 @@ Poke around several pages, ensure that the stylesheets are working properly, ima
- [ ] Debug any test failures or unexpected results -- it's very likely manual updates will be necessary, the script does a lot of work but doesn't automate everything and can't 100% replace human intent.
- [ ] When the PR is approved, merge it in to complete the deprecation. This can be merged independently from step 5.

## Step 7: Deprecate the OpenAPI description in `github/github`
## Step 8: Deprecate the OpenAPI description in `github/github`

- [ ] In `github/github`, edit the release's config file in `app/api/description/config/releases/`, and change `deprecated: false` to `deprecated: true`.
- [ ] Open a new PR, and get the required code owner approvals. A docs-content team member can approve it for the docs team.
- [ ] When the PR is approved, [deploy the `github/github` PR](https://thehub.github.com/epd/engineering/devops/deployment/deploying-dotcom/). If you haven't deployed a `github/github` PR before, work with someone that has -- the process isn't too involved depending on how you deploy, but there are a lot of details that can potentially be confusing as you can see from the documentation.

**Note**: you can do this step independently of the other steps after a GHES version is deprecated since it should no longer get updates in github/github. You should plan to get this PR merged as soon as possible, otherwise if you wait too long our OpenAPI automation may re-add the static files that you removed in step 5.

## Step 5: Continue to deprecate the version in docs-internal
## Step 9: Continue to deprecate the version in docs-internal

- [ ] Open a new PR. Make sure to check the following:
- [ ] Tests are passing (you may need to include the changes in step 6 to get tests to pass).
- [ ] The deprecated version renders in preview as expected. You should be able to navigate to `docs.github.com/enterprise/<DEPRECATED VERSION>` to access the docs. You should also be able to navigate to a page that is available in the deprecated version and change the version in the URL to the deprecated version, to test redirects.
- [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated.
- [ ] The new oldest supported version renders on staging as expected. You should see a banner on the top of every page for the oldest supported version that notes when the version will be deprecated.

## Re-scraping a page or all pages

Occasionally, a change will need to be added to our archived enterprise versions. If this occurs, you can check out the `enterprise-<release number>-release` branch and re-scrape the page or all pages using `script/enterprise-server-deprecations/archive-version.js`. To scrape a single page you can use the `—page <page relative path>` option.

For each language, upload the new file to Azure blob storage in the `enterprise` container.

After uploading the new files, you will need to purge the Fastly cache for the single page. From Okta, go to Fastly and select `docs`. Click `Purge` then `Purge URL`. If you need to purge a whole path, just do a `Purge All`

![](/assets/images/fastly_purge.jpg)

Enter the URL or path and do a soft purge.

![](/assets/images/fastly_purge_url.jpg)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng
```
script/update-enterprise-dates.js
```
- [ ] Create REST files based on previous version. Copy the latest GHES version of the dereferenced file from `lib/rest/static/dereferenced` to a new file in the same directory for the new GHES release. Ex, `cp lib/rest/static/dereferenced/ghes-3.4.deref.json lib/rest/static/dereferenced/ghes-3.5.deref.json`. Then run `script/rest/update-files.js --decorate-only` and check in the resulting files.
- [ ] Create REST files based on previous version. Copy the latest GHES version of the decorate file from `lib/rest/static/decorated` to a new file in the same directory for the new GHES release. Ex, `cp lib/rest/static/decorated/ghes-3.4.json lib/rest/static/decorated/ghes-3.5.json`.

- [ ] Create GraphQL files based on previous version:

Expand Down Expand Up @@ -76,16 +76,6 @@ If you aren't comfortable going through the steps alone, sync up with a docs eng

### Troubleshooting

#### `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/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:
Expand All @@ -104,7 +94,7 @@ This file should be automatically updated, but you can also run `script/update-e
- [ ] [Freeze the repos](https://github.com/github/docs-content/blob/main/docs-content-docs/docs-content-workflows/freezing.md) at least 1-2 days before the release, and post an announcement in Slack so everybody knows. It's helpful to freeze the repos before doing the OpenAPI merges to avoid changes to the megabranch while preparing and deploying.
- [ ] 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 the OpenAPI schema config `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 dereferenced and decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch. **Note:** Be careful about resolving the conflicts correctly—you may wish to delete the existing OpenAPI files for the release version from the megabranch (that is, delete the GHES release version `lib/rest/static` decorated and dereferenced JSON files), so there are no conflicts to resolve and to ensure that the incoming artifacts are the correct ones.
- [ ] Once the PR merges, make sure that the auto-generated PR titled "Update OpenAPI Descriptions" in doc-internal contains the decorated JSON files for the new GHES release. If everything looks good, merge the "Update OpenAPI Description" PR into the GHES release megabranch. **Note:** Don't attempt to resolve conflicts for changes to the `lib/rest/static/decorated` files. Instead delete the existing OpenAPI files for the release version from the megabranch (that is, revert the changes to the `lib/rest/static` decorated JSON files, e.g., from the megabranch do a `git checkout origin/main lib/rest/static/*`), so there are no conflicts to resolve and to ensure that the incoming artifacts are the correct ones.
- [ ] Alert the Ecosystem-API team in #ecosystem-api about the pending release freeze and incoming blocking review of OpenAPI updates in the public REST API description (the `rest-api-descriptions` repo). They'll need to block any future "Update OpenAPI Descriptions" PRs in the public REST API description until after the ship.
- [ ] Add a blocking review to the auto-generated "Update OpenAPI Descriptions" PR in the public REST API description. (You or they will remove this blocking review once the GHES release ships.)

Expand All @@ -129,4 +119,4 @@ This file should be automatically updated, but you can also run `script/update-e
- [ ] You (or they) can now remove your blocking review on the auto-generated "Update OpenAPI Descriptions" PR in public REST API description (the `rest-api-descriptions` repo). (although it's likely newer PRs have been created since yours with the blocking review, in which case the Ecosystem-API team will close your PR and perform the next step on the most recent PR).
- [ ] The Ecosystem-API team will merge the latest auto-generated "Update OpenAPI Descriptions" PR (which will contain the OpenAPI schema config that changed `published` to `true` for the release).
- [ ] After unfreezing, if there were significant or highlighted GraphQL changes in the release, consider manually running the [GraphQL update workflow](https://github.com/github/docs-internal/actions/workflows/update-graphql-files.yml) to update our GraphQL schemas. By default this workflow only runs once every 24 hours.
- [ ] After the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in the following files: [`.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-1-or-2-tracking.yml) and [`.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tier-3-or-tier-4.yml). When the PR is approved, merge it in.
- [ ] After the release, in the `docs-content` repo, add the now live version number to the "Specific GHES version(s)" section in [`.github/ISSUE_TEMPLATE/release-tracking.yml`](https://github.com/github/docs-content/blob/main/.github/ISSUE_TEMPLATE/release-tracking.yml). When the PR is approved, merge it in.
46 changes: 0 additions & 46 deletions .github/actions-scripts/openapi-schema-branch.js

This file was deleted.

Loading