Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
645 commits
Select commit Hold shift + click to select a range
0e8cd2b
Merge pull request #20344 from github/repo-sync
Octomerger Sep 1, 2022
eda38df
fetch external urls better in link checker (#30387)
Sep 1, 2022
32d2a3c
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
77d9aee
Marketing cookies opt-out
jhosman Sep 1, 2022
bfdf4b6
Merge pull request #20345 from github/repo-sync
Octomerger Sep 1, 2022
dbb8426
Codespaces: Use correct keypress formatting (#30248)
hubwriter Sep 1, 2022
5087e15
Revise notes
mattpollard Sep 1, 2022
53a3869
adds caps
sophietheking Sep 1, 2022
22dc833
Revise notes
mattpollard Sep 1, 2022
d956f2e
Merge branch 'main' into 3.2.18,3.3.13,3.6.1,3.5.5,3.4.8-release-notes
mattpollard Sep 1, 2022
5ef2c56
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
798ca4d
Merge pull request #20346 from github/repo-sync
Octomerger Sep 1, 2022
5f743d8
Merge pull request #30383 from github/3.2.18,3.3.13,3.6.1,3.5.5,3.4.8…
sophietheking Sep 1, 2022
dc311ee
Update repository-references.js
hubwriter Sep 1, 2022
17f5b6b
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
f5b6ea7
Merge pull request #20347 from github/repo-sync
Octomerger Sep 1, 2022
1edf0a1
Add article on ML in Codespaces (#30021)
hubwriter Sep 1, 2022
ec93aff
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
a381f88
Darthwillis/index management (#30431)
darthwillis Sep 1, 2022
5c4eb8e
Merge pull request #20348 from github/repo-sync
Octomerger Sep 1, 2022
943606c
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
a5afcbb
Update Git command to work with earlier versions
meowius Sep 1, 2022
0830edf
Merge pull request #20349 from github/repo-sync
Octomerger Sep 1, 2022
66eca51
Action ran graphql script"update-files"
rachmari Sep 1, 2022
d5ba462
Merge branch 'main' into 6458-larger-runners
jhosman Sep 1, 2022
83666fd
Merge pull request #30456 from github/graphql-schema-update
docubot Sep 1, 2022
594f0b7
Merge branch 'main' into 6458-larger-runners
docubot Sep 1, 2022
2693f60
Merge pull request #29326 from github/6458-larger-runners
jhosman Sep 1, 2022
7eb4a9b
Merge pull request #20350 from github/repo-sync
Octomerger Sep 1, 2022
684c994
New translation batch for es (#30461)
docubot Sep 1, 2022
0a89fb5
update search indexes
actions-user Sep 1, 2022
59bc77d
Merge branch 'main' into repo-sync
Octomerger Sep 1, 2022
924efe1
Merge pull request #20355 from github/repo-sync
Octomerger Sep 1, 2022
11a9972
clarify wording
saritai Sep 1, 2022
f7fecc9
update search indexes
actions-user Sep 2, 2022
c8fb9f4
Merge branch 'main' into liquidjs
cmwilson21 Sep 2, 2022
b0e1691
Merge pull request #20177 from jsoref/liquidjs
cmwilson21 Sep 2, 2022
14b851b
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
1bb26a7
Merge pull request #20361 from github/repo-sync
Octomerger Sep 2, 2022
23a5297
Merge pull request #30471 from github/repo-sync
Octomerger Sep 2, 2022
eefe66b
update search indexes
actions-user Sep 2, 2022
dc3f18d
Add the JetBrains .idea setting directory
hubwriter Sep 2, 2022
b631dca
Merge pull request #20364 from github/repo-sync
Octomerger Sep 2, 2022
401705e
update average time for failover
kwacky1 Sep 2, 2022
e1839f8
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
936293a
Apply suggestions from code review
sophietheking Sep 2, 2022
dc39a25
Merge pull request #20365 from github/repo-sync
Octomerger Sep 2, 2022
f5d6451
Update OpenAPI Descriptions (#30473)
github-openapi-bot Sep 2, 2022
7178aaf
Add write pr permissions (#30469)
gracepark Sep 2, 2022
9bfdb6f
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
4ffc111
Merge pull request #20367 from github/repo-sync
Octomerger Sep 2, 2022
979fd89
Update workflow-commands-for-github-actions.md
JoannaaKL Sep 2, 2022
4088489
Clarify data that's not migrated by GEI (#29374)
lecoursen Sep 2, 2022
c97e29f
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
8c5f080
Merge branch 'main' into patch-2
cmwilson21 Sep 2, 2022
af369d2
Merge pull request #20368 from github/repo-sync
Octomerger Sep 2, 2022
31ece2c
removes beta note as it's already present in the API docs
sophietheking Sep 2, 2022
4d5458f
Merge branch 'main' into patch-2
cmwilson21 Sep 2, 2022
086467a
Merge pull request #20333 from Hashimdev-spec/patch-2
cmwilson21 Sep 2, 2022
15ebda0
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
06f7be2
Merge pull request #30477 from github/repo-sync
Octomerger Sep 2, 2022
c70260f
Companion PR
guntrip Sep 2, 2022
afcf8bb
Merge branch 'main' into saritai/7356-bugfix
saritai Sep 2, 2022
4bc08a8
Merge pull request #30467 from github/saritai/7356-bugfix
saritai Sep 2, 2022
183088e
[Sept 1, 2022] Remove Learning Lab (#30429)
emilyistoofunky Sep 2, 2022
464aa10
Dependency review action has shipped with GHES 3.6 and needs admin d…
mchammer01 Sep 2, 2022
c69a314
Merge pull request #20370 from github/repo-sync
Octomerger Sep 2, 2022
c936d60
Merge branch 'main' into cmwilson21-patch-1
cmwilson21 Sep 2, 2022
5e3af17
Merge pull request #28986 from github/cmwilson21-patch-1
cmwilson21 Sep 2, 2022
b681263
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
1e308a0
Merge pull request #20372 from github/repo-sync
Octomerger Sep 2, 2022
e0f9ac2
Add sso_response to Enterprise Audit Log docs (#30416)
boylejj Sep 2, 2022
45176f9
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
172b8d1
Merge pull request #20373 from github/repo-sync
Octomerger Sep 2, 2022
c7d12a2
update search indexes
actions-user Sep 2, 2022
8c80b18
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
04a4e8d
Merge pull request #20374 from github/repo-sync
Octomerger Sep 2, 2022
622db48
Fix YAML in larger runner job example
StevenMaude Sep 2, 2022
3a39a74
GEI CLI extension per migration source (#30156)
lecoursen Sep 2, 2022
d1748e3
New translation batch for cn (#30493)
docubot Sep 2, 2022
1acc1a6
New translation batch for ja (#30492)
docubot Sep 2, 2022
9959b8b
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
8d0d365
Merge pull request #20376 from github/repo-sync
Octomerger Sep 2, 2022
b665711
Add header to signing keys page in REST API docs (#30452)
Bestra Sep 2, 2022
20cee2a
Merge branch 'main' into repo-sync
Octomerger Sep 2, 2022
86e958b
Merge pull request #20378 from github/repo-sync
Octomerger Sep 2, 2022
5766b7b
update search indexes
actions-user Sep 3, 2022
d86e4b5
Merge branch 'main' into repo-sync
Octomerger Sep 3, 2022
0c186ac
Merge pull request #20381 from github/repo-sync
Octomerger Sep 3, 2022
f866733
update search indexes
actions-user Sep 3, 2022
1416b98
Merge branch 'main' into repo-sync
Octomerger Sep 3, 2022
5636756
Merge pull request #20384 from github/repo-sync
Octomerger Sep 3, 2022
02e3f59
New translation batch for pt (#30501)
docubot Sep 3, 2022
5a76bd6
update search indexes
actions-user Sep 3, 2022
f65a5f5
Merge pull request #20393 from github/repo-sync
Octomerger Sep 3, 2022
e96b59a
Merge branch 'main' into repo-sync
Octomerger Sep 3, 2022
9b0b1d2
Merge pull request #20394 from github/repo-sync
Octomerger Sep 3, 2022
1bd1421
update search indexes
actions-user Sep 4, 2022
c55501e
Merge branch 'main' into repo-sync
Octomerger Sep 4, 2022
9a1ede1
Merge pull request #20399 from github/repo-sync
Octomerger Sep 4, 2022
d13317c
update search indexes
actions-user Sep 4, 2022
770da87
Merge branch 'main' into repo-sync
Octomerger Sep 4, 2022
85c6460
Merge pull request #20403 from github/repo-sync
Octomerger Sep 4, 2022
21386e7
New translation batch for pt (#30510)
docubot Sep 4, 2022
cdc7dd8
update search indexes
actions-user Sep 4, 2022
9a52bf7
Merge branch 'main' into repo-sync
Octomerger Sep 4, 2022
95d41ae
Merge pull request #20409 from github/repo-sync
Octomerger Sep 4, 2022
96a4aae
Update OpenAPI Descriptions (#30506)
github-openapi-bot Sep 5, 2022
56f2b48
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
b272c83
Merge pull request #20411 from github/repo-sync
Octomerger Sep 5, 2022
cda55b8
update search indexes
actions-user Sep 5, 2022
3ad3703
Add quotes to jobs context, fix json code block language (#20362)
lucascosti Sep 5, 2022
6029402
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
56c4436
Merge pull request #20412 from github/repo-sync
Octomerger Sep 5, 2022
c80d0a0
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
7b9e96d
Merge pull request #30516 from github/repo-sync
Octomerger Sep 5, 2022
1f7d6cc
Update content/organizations/managing-peoples-access-to-your-organiza…
sophietheking Sep 5, 2022
1633190
Add article about the Codespaces badge (#30445)
hubwriter Sep 5, 2022
6f31be3
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
215abec
Merge pull request #20416 from github/repo-sync
Octomerger Sep 5, 2022
c6e71f9
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
f65d32e
Update "Telling Git about your X.509 key" to not assume that GPG and …
timrogers Sep 5, 2022
99a41fe
Merge pull request #30517 from github/repo-sync
Octomerger Sep 5, 2022
8863570
Update maven cental link (#29221)
darakian Sep 5, 2022
7689676
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
411124a
Merge pull request #20417 from github/repo-sync
Octomerger Sep 5, 2022
3609a98
Say default queries are all in security-extended suite (#20363)
eroullit Sep 5, 2022
ed58590
update search indexes
actions-user Sep 5, 2022
31142f9
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
689a994
Merge pull request #30520 from github/repo-sync
Octomerger Sep 5, 2022
e792b4b
Merge pull request #20418 from github/repo-sync
Octomerger Sep 5, 2022
b2e3d91
Merge branch 'main' into timrogers/instead-of-gpg
sophietheking Sep 5, 2022
00898fd
Merge pull request #30518 from github/timrogers/instead-of-gpg
sophietheking Sep 5, 2022
e335f7a
Improve wording for URI schemes, checkout URI for third party integra…
hharen Sep 5, 2022
398987f
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
3421126
Merge pull request #20423 from github/repo-sync
Octomerger Sep 5, 2022
47bd0e4
update search indexes
actions-user Sep 5, 2022
0f333b1
Merge branch 'main' into repo-sync
Octomerger Sep 5, 2022
05f4d00
Merge pull request #20425 from github/repo-sync
Octomerger Sep 5, 2022
07e3a2d
update search indexes
actions-user Sep 6, 2022
613663a
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
536ed85
Merge pull request #20427 from github/repo-sync
Octomerger Sep 6, 2022
63599cf
Add beta signup step for hosted-runners (#30530)
Sep 6, 2022
1b705d6
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
c17b467
Merge pull request #20433 from github/repo-sync
Octomerger Sep 6, 2022
54991f7
connect to ES 7.11 (#30462)
Sep 6, 2022
8fbb3d0
don't let 4xx errors propagate up from es-search (#30495)
Sep 6, 2022
a76e701
update search indexes
actions-user Sep 6, 2022
6331664
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
b836041
Merge pull request #20435 from github/repo-sync
Octomerger Sep 6, 2022
726f4a6
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
9b780b1
Merge pull request #20436 from github/repo-sync
Octomerger Sep 6, 2022
fd8ebcd
Enterprise policy for project visibility changes (#30482)
lecoursen Sep 6, 2022
c0ac2ca
Update procedural for SSO authorization for SSH keys (#30486)
lecoursen Sep 6, 2022
c7231f8
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
413d9d7
Merge pull request #20437 from github/repo-sync
Octomerger Sep 6, 2022
53b3139
New translation batch for cn (#30512)
docubot Sep 6, 2022
cefc49b
New translation batch for pt (#30527)
docubot Sep 6, 2022
0a5016a
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
219638d
Fix Management Console API code samples (#30455)
manue1 Sep 6, 2022
bbc4818
Merge pull request #20438 from github/repo-sync
Octomerger Sep 6, 2022
b84b627
Fix bug for ghec version of experimental pages (#30494)
gracepark Sep 6, 2022
785607f
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
b8f73fb
Merge pull request #20439 from github/repo-sync
Octomerger Sep 6, 2022
3afbf9d
Merge branch 'main' into meowius-locally-hosted-upload
meowius Sep 6, 2022
9e302ad
Merge pull request #30454 from github/meowius-locally-hosted-upload
meowius Sep 6, 2022
90b754f
Test JSON API without enabling dedicated search results page (#30542)
Sep 6, 2022
f07866d
Correct script's filename in checklist for GitHub Enterprise Server r…
mattpollard Sep 6, 2022
f2a5f9c
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
f4e3a8d
[2022-09-07] Add section about linking existing pull requests and bra…
imjohnbo Sep 6, 2022
f20ed81
Merge pull request #20442 from github/repo-sync
Octomerger Sep 6, 2022
1ec71eb
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
d28847d
Merge pull request #20443 from github/repo-sync
Octomerger Sep 6, 2022
464c8b7
Removed the deprecated "Mastering Markdown" link
Veylkh Sep 6, 2022
18348b4
Removed the deprecated "Mastering Markdown" link
Veylkh Sep 6, 2022
ecda651
Merge pull request #1 from Veylkh/patch-2
Veylkh Sep 6, 2022
9472020
Merge pull request #2 from Veylkh/patch-3
Veylkh Sep 6, 2022
9e022cf
Merge branch 'main' into update-gmail-buttons
cmwilson21 Sep 6, 2022
896dc23
update search indexes
actions-user Sep 6, 2022
6f8b809
Merge branch 'main' into sophietheking-7793
lecoursen Sep 6, 2022
cd88370
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
2a10a8b
don't fail in FailBot in search API if nothing to report (#30546)
Sep 6, 2022
f132269
Merge pull request #20446 from github/repo-sync
Octomerger Sep 6, 2022
136284f
Merge branch 'main' into update-gmail-buttons
cmwilson21 Sep 6, 2022
00eed95
Merge branch 'main' into repo-sync
Octomerger Sep 6, 2022
a578ca9
Merge pull request #20447 from github/repo-sync
Octomerger Sep 6, 2022
bf26500
Update OpenAPI Descriptions (#30562)
github-openapi-bot Sep 7, 2022
11164ec
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
8ac9580
Merge pull request #20449 from github/repo-sync
Octomerger Sep 7, 2022
8d958f0
Merge branch 'main' into sophietheking-7793
sophietheking Sep 7, 2022
fa70cd6
Merge pull request #30442 from github/sophietheking-7793
sophietheking Sep 7, 2022
ec6eceb
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
255ea84
Merge pull request #20452 from github/repo-sync
Octomerger Sep 7, 2022
88b813c
update search indexes
actions-user Sep 7, 2022
7a3a63a
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
d4fa41b
Merge pull request #20453 from github/repo-sync
Octomerger Sep 7, 2022
38287a9
Update ESX version support for 3.5 and higher (#30134)
maya-ross Sep 7, 2022
dc05d0f
always ignore @elastic/elasticsearch in Dependabot (#30569)
Sep 7, 2022
f4162ec
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
5bd00ff
Merge pull request #20458 from github/repo-sync
Octomerger Sep 7, 2022
11e03db
Action ran graphql script"update-files"
rachmari Sep 7, 2022
81e26c9
Merge pull request #30582 from github/graphql-schema-update
docubot Sep 7, 2022
a89043c
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
3b6c2f8
Merge pull request #20462 from github/repo-sync
Octomerger Sep 7, 2022
6047c86
Update on Sponsors probation period (#30251)
jlord Sep 7, 2022
7eaf3a1
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
5a3a85e
Merge pull request #20464 from github/repo-sync
Octomerger Sep 7, 2022
8739277
update search indexes
actions-user Sep 7, 2022
1d961a3
Merge branch 'main' into update-gmail-buttons
cmwilson21 Sep 7, 2022
a945cc8
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
07a2cfc
Merge pull request #20326 from aisgbnok/update-gmail-buttons
cmwilson21 Sep 7, 2022
e51d5bb
Merge branch 'main' into repo-sync
docubot Sep 7, 2022
4f26c8b
Merge pull request #20467 from github/repo-sync
Octomerger Sep 7, 2022
5ef34ba
Optimize images
invalid-email-address Sep 7, 2022
22cd8e5
Merge pull request #30589 from github/repo-sync
Octomerger Sep 7, 2022
4b0e74e
Update ownership.yaml (#30393)
heiskr Sep 7, 2022
ada4d3c
Ignore search files for translation tests (#30590)
hectorsector Sep 7, 2022
09b7976
Merge pull request #20468 from github/repo-sync
Octomerger Sep 7, 2022
d21afee
Temporarily skip some translation tests (#30557)
hectorsector Sep 7, 2022
b35230f
Update Microsoft translation workflow to auto approve and merge trans…
hectorsector Sep 7, 2022
157cf44
Merge branch 'main' into main
cmwilson21 Sep 7, 2022
946bf13
Merge pull request #20444 from Veylkh/main
cmwilson21 Sep 7, 2022
4b7ee74
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
6a9f197
[DO NOT MERGE] Msft: New translation batch for ja (#30593)
docubot Sep 7, 2022
70cad3d
Merge pull request #20470 from github/repo-sync
Octomerger Sep 7, 2022
363b9af
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
3bfaf28
Merge pull request #30596 from github/repo-sync
Octomerger Sep 7, 2022
2891316
[DO NOT MERGE] Msft: New translation batch for cn (#30595)
docubot Sep 7, 2022
ab164fb
Fix title on translation PRs (#30597)
hectorsector Sep 7, 2022
2990c3c
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
88b186b
Merge pull request #20471 from github/repo-sync
Octomerger Sep 7, 2022
6162103
Merge pull request #20472 from github/repo-sync
Octomerger Sep 7, 2022
891686c
[DO NOT MERGE] Msft: New translation batch for pt (#30594)
docubot Sep 7, 2022
f438423
[DO NOT MERGE] Msft: New translation batch for es (#30592)
docubot Sep 7, 2022
3ea97db
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
b3c2b12
Merge pull request #20473 from github/repo-sync
Octomerger Sep 7, 2022
2a2bc5b
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
08c0709
Merge pull request #20474 from github/repo-sync
Octomerger Sep 7, 2022
0e6fc46
[2022-09-07]: Dependabot unlocks parent dependencies on updates - [GA…
sophietheking Sep 7, 2022
8ee025a
Merge branch 'main' into repo-sync
Octomerger Sep 7, 2022
ace1171
Merge pull request #20476 from github/repo-sync
Octomerger Sep 7, 2022
d3303a2
Add a section about upgrading GitHub Enterprise Backup Utilities (#28…
vgrl Sep 7, 2022
2144d47
Update OpenAPI Descriptions (#30603)
github-openapi-bot Sep 8, 2022
018ed39
Merge pull request #20477 from github/repo-sync
Octomerger Sep 8, 2022
cd78a15
update search indexes
actions-user Sep 8, 2022
35d9b48
Merge branch 'main' into repo-sync
Octomerger Sep 8, 2022
c5cc6af
Merge pull request #20483 from github/repo-sync
Octomerger Sep 8, 2022
6f72b1c
Merge branch 'main' into correct-larger-runner-job-yaml-syntax
sophietheking Sep 8, 2022
8618a59
Merge pull request #20375 from StevenMaude/correct-larger-runner-job-…
sophietheking Sep 8, 2022
be7fe74
Update github-privacy-statement.md
simontrinh0911 Sep 8, 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.
20 changes: 10 additions & 10 deletions .github/actions-scripts/create-translation-batch-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ async function findOrCreatePullRequest(config) {
* @param {object} config Configuration options for labeling the PR
* @returns {Promise<undefined>}
*/
async function labelPullRequest(config) {
await octokit.rest.issues.update({
owner: config.owner,
repo: config.repo,
issue_number: config.issue_number,
labels: config.labels,
})
}
// async function labelPullRequest(config) {
// await octokit.rest.issues.update({
// owner: config.owner,
// repo: config.repo,
// issue_number: config.issue_number,
// labels: config.labels,
// })
// }

async function main() {
const options = {
Expand All @@ -135,8 +135,8 @@ async function main() {

// metadata parameters aren't currently available in `github.rest.pulls.create`,
// but they are in `github.rest.issues.update`.
await labelPullRequest(options)
console.log(`Updated ${pr} with these labels: ${options.labels.join(', ')}`)
// await labelPullRequest(options)
// console.log(`Updated ${pr} with these labels: ${options.labels.join(', ')}`)
}

main()
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/updated-files.js --decorate-only` and check in the resulting files.
- [ ] 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 GraphQL files based on previous version:

Expand Down
20 changes: 10 additions & 10 deletions .github/actions-scripts/msft-create-translation-batch-pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ async function findOrCreatePullRequest(config) {
* @param {object} config Configuration options for labeling the PR
* @returns {Promise<undefined>}
*/
// async function labelPullRequest(config) {
// await octokit.rest.issues.update({
// owner: config.owner,
// repo: config.repo,
// issue_number: config.issue_number,
// labels: config.labels,
// })
// }
async function labelPullRequest(config) {
await octokit.rest.issues.update({
owner: config.owner,
repo: config.repo,
issue_number: config.issue_number,
labels: config.labels,
})
}

async function main() {
const options = {
Expand All @@ -135,8 +135,8 @@ async function main() {

// metadata parameters aren't currently available in `github.rest.pulls.create`,
// but they are in `github.rest.issues.update`.
// await labelPullRequest(options)
// console.log(`Updated ${pr} with these labels: ${options.labels.join(', ')}`)
await labelPullRequest(options)
console.log(`Updated ${pr} with these labels: ${options.labels.join(', ')}`)
}

main()
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ updates:
day: tuesday
open-pull-requests-limit: 20 # default is 5
ignore:
- dependency-name: '@elastic/elasticsearch'
- dependency-name: '*'
update-types:
['version-update:semver-patch', 'version-update:semver-minor']
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/copy-api-issue-to-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@ jobs:
ISSUE_TITLE: ${{ github.event.issue.title }}
ISSUE_BODY: ${{ github.event.issue.body }}

- name: Comment on the new issue
run: gh issue comment $NEW_ISSUE --body "This issue was originally opened in the open source repo as $OLD_ISSUE"
env:
GITHUB_TOKEN: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
NEW_ISSUE: ${{ env.NEW_ISSUE }}
OLD_ISSUE: ${{ github.event.issue.html_url }}

- name: Comment on the old issue
run: gh issue comment $OLD_ISSUE --body "Thank you for opening this issue! Updates to the REST/GraphQL API description must be made internally. I have copied your issue to an internal issue, so I will close this issue."
env:
Expand All @@ -70,3 +63,10 @@ jobs:
env:
GITHUB_TOKEN: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
OLD_ISSUE: ${{ github.event.issue.html_url }}

- name: Comment on the new issue
run: gh issue comment $NEW_ISSUE --body "This issue was originally opened in the open source repo as $OLD_ISSUE"
env:
GITHUB_TOKEN: ${{secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES}}
NEW_ISSUE: ${{ env.NEW_ISSUE }}
OLD_ISSUE: ${{ github.event.issue.html_url }}
78 changes: 39 additions & 39 deletions .github/workflows/create-translation-batch-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ name: Create translation Batch Pull Request

on:
workflow_dispatch:
schedule:
- cron: '02 17 * * *' # Once a day at 17:02 UTC / 9:02 PST
# schedule:
# - cron: '02 17 * * *' # Once a day at 17:02 UTC / 9:02 PST

permissions:
contents: write
Expand Down Expand Up @@ -172,11 +172,11 @@ jobs:
- name: Push filtered translations
run: git push origin ${{ steps.set-branch.outputs.BRANCH_NAME }}

- name: Close existing stale batches
uses: lee-dohm/close-matching-issues@e9e43aad2fa6f06a058cedfd8fb975fd93b56d8f
with:
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
query: 'type:pr label:translation-batch-${{ matrix.language }}'
# - name: Close existing stale batches
# uses: lee-dohm/close-matching-issues@e9e43aad2fa6f06a058cedfd8fb975fd93b56d8f
# with:
# token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# query: 'type:pr label:translation-batch-${{ matrix.language }}'

- name: Create translation batch pull request
env:
Expand All @@ -188,35 +188,35 @@ jobs:
BODY_FILE: '/tmp/pr-body.txt'
run: .github/actions-scripts/create-translation-batch-pr.js

- name: Approve PR
if: github.ref_name == 'main'
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
run: gh pr review --approve || echo "Nothing to approve"

- name: Set auto-merge
if: github.ref_name == 'main'
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge"

# When the maximum execution time is reached for this job, Actions cancels the workflow run.
# This emits a notification for the first responder to triage.
- name: Send Slack notification if workflow is cancelled
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
if: cancelled()
with:
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
color: failure
text: 'The new translation batch for ${{ matrix.language }} was cancelled.'

# Emit a notification for the first responder to triage if the workflow failed.
- name: Send Slack notification if workflow failed
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
if: failure()
with:
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
color: failure
text: 'The new translation batch for ${{ matrix.language }} failed.'
# - name: Approve PR
# if: github.ref_name == 'main'
# env:
# GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# run: gh pr review --approve || echo "Nothing to approve"

# - name: Set auto-merge
# if: github.ref_name == 'main'
# env:
# GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge"

# # When the maximum execution time is reached for this job, Actions cancels the workflow run.
# # This emits a notification for the first responder to triage.
# - name: Send Slack notification if workflow is cancelled
# uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
# if: cancelled()
# with:
# channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
# bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
# color: failure
# text: 'The new translation batch for ${{ matrix.language }} was cancelled.'

# # Emit a notification for the first responder to triage if the workflow failed.
# - name: Send Slack notification if workflow failed
# uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
# if: failure()
# with:
# channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
# bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
# color: failure
# text: 'The new translation batch for ${{ matrix.language }} failed.'
8 changes: 8 additions & 0 deletions .github/workflows/link-check-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ jobs:
# Don't care about CDN caching image URLs
DISABLE_REWRITE_ASSET_URLS: true
run: |

# Note as of Aug 2022, we *don't* check external links
# on the pages you touched in the PR. We could enable that
# but it has the added risk of false positives blocking CI.
# We are using this script for the daily/nightly checker that
# checks external links too. Once we're confident it really works
# well, we can consider enabling it here on every content PR too.

./script/rendered-content-link-checker.js \
--language en \
--max 100 \
Expand Down
84 changes: 40 additions & 44 deletions .github/workflows/msft-create-translation-batch-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ name: Create translation Batch Pull Request (Microsoft)

on:
workflow_dispatch:
# TODO: bring schedule back in
# schedule:
# - cron: '02 17 * * *' # Once a day at 17:02 UTC / 9:02 PST
schedule:
- cron: '02 17 * * *' # Once a day at 17:02 UTC / 9:02 PST

permissions:
contents: write
Expand Down Expand Up @@ -145,54 +144,51 @@ jobs:
- name: Push filtered translations
run: git push origin ${{ steps.set-branch.outputs.BRANCH_NAME }}

# TODO: bring this step back
# - name: Close existing stale batches
# uses: lee-dohm/close-matching-issues@e9e43aad2fa6f06a058cedfd8fb975fd93b56d8f
# with:
# token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# query: 'type:pr label:translation-batch-${{ matrix.language }}'
- name: Close existing stale batches
uses: lee-dohm/close-matching-issues@e9e43aad2fa6f06a058cedfd8fb975fd93b56d8f
with:
token: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
query: 'type:pr label:translation-batch-${{ matrix.language }}'

# TODO: bring labels back into the PR script
- name: Create translation batch pull request
env:
GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }}
TITLE: '[DO NOT MERGE] Msft: New translation batch for ${{ matrix.language }}'
TITLE: 'New translation batch for ${{ matrix.language }}'
BASE: 'main'
HEAD: ${{ steps.set-branch.outputs.BRANCH_NAME }}
LANGUAGE: ${{ matrix.language }}
BODY_FILE: '/tmp/pr-body.txt'
run: .github/actions-scripts/msft-create-translation-batch-pr.js

# TODO: bring back these steps
# - name: Approve PR
# if: github.ref_name == 'main'
# env:
# GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# run: gh pr review --approve || echo "Nothing to approve"

# - name: Set auto-merge
# if: github.ref_name == 'main'
# env:
# GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
# run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge"

# # When the maximum execution time is reached for this job, Actions cancels the workflow run.
# # This emits a notification for the first responder to triage.
# - name: Send Slack notification if workflow is cancelled
# uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
# if: cancelled()
# with:
# channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
# bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
# color: failure
# text: 'The new translation batch for ${{ matrix.language }} was cancelled.'

# # Emit a notification for the first responder to triage if the workflow failed.
# - name: Send Slack notification if workflow failed
# uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
# if: failure()
# with:
# channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
# bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
# color: failure
# text: 'The new translation batch for ${{ matrix.language }} failed.'
- name: Approve PR
if: github.ref_name == 'main'
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
run: gh pr review --approve || echo "Nothing to approve"

- name: Set auto-merge
if: github.ref_name == 'main'
env:
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge"

# When the maximum execution time is reached for this job, Actions cancels the workflow run.
# This emits a notification for the first responder to triage.
- name: Send Slack notification if workflow is cancelled
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
if: cancelled()
with:
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}🎉
color: failure
text: 'The new translation batch for ${{ matrix.language }} was cancelled.'

# Emit a notification for the first responder to triage if the workflow failed.
- name: Send Slack notification if workflow failed
uses: someimportantcompany/github-actions-slack-message@f8d28715e7b8a4717047d23f48c39827cacad340
if: failure()
with:
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
color: failure
text: 'The new translation batch for ${{ matrix.language }} failed.'
1 change: 1 addition & 0 deletions .github/workflows/site-policy-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
types: [labeled]

permissions:
pull-requests: write
contents: none

jobs:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ env:
# Setting this will activate the jest tests that depend on actually
# sending real search queries to Elasticsearch
ELASTICSEARCH_URL: http://localhost:9200/
# Hopefully the name is clear enough. By enabling this, we're testing
# the future code.
ENABLE_SEARCH_RESULTS_PAGE: true

jobs:
test:
Expand Down Expand Up @@ -52,7 +55,7 @@ jobs:
if: ${{ matrix.test-group == 'content' }}
uses: getong/elasticsearch-action@95b501ab0c83dee0aac7c39b7cea3723bef14954
with:
elasticsearch version: '7.17.5'
elasticsearch version: '7.11.1'
host port: 9200
container port: 9200
host node port: 9300
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
.DS_Store
.env
.vscode/settings.json
.idea/
/node_modules/
npm-debug.log
coverage/
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/help/codespaces/jupyter-run-all.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/help/issues/development-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/help/notifications/gmail-buttons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/help/settings/ssh-sso-authorize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/help/settings/ssh-sso-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hosted-runner-mgmt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/hosted-runner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions components/context/PlaygroundContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ export const PlaygroundContextProvider = (props: { children: React.ReactNode })
const router = useRouter()
const [activeSectionIndex, setActiveSectionIndex] = useState(0)
const [scrollToSection, setScrollToSection] = useState<number>()
const path = router.asPath.split('?')[0].split('#')[0]

const path = router.asPath.includes('@latest')
? router.asPath.split('?')[0].split('#')[0].split('@latest')[1]
: router.asPath.split('?')[0].split('#')[0]
const relevantArticles = articles.filter(({ slug }) => slug === path)

const { langId } = router.query
Expand Down
Loading