1
0
mirror of synced 2025-12-25 02:17:36 -05:00
Commit Graph

19926 Commits

Author SHA1 Message Date
Peter Bengtsson
ed6e80bd20 remove tool-switcher (#24242) 2022-01-12 16:32:30 +00:00
hubwriter
05a3738f7a Fix the workspace settings.json 2022-01-12 14:46:27 +00:00
James M. Greene
caaaa403be Lock Node version to 16.x for Heroku (#24245)
* Lock Node version to 16.x for Heroku
* Update package-lock.json
2022-01-12 14:37:44 +00:00
Octomerger Bot
8246360eaa Merge pull request #24247 from github/repo-sync
repo sync
2022-01-12 08:36:47 -06:00
Octomerger Bot
50a8d9223a Merge branch 'main' into repo-sync 2022-01-12 08:33:09 -06:00
Sarita Iyer
d4eaf3d0c0 Merge pull request #24173 from github/kwacky1-update-actions-memory
Swap Actions Memory recs
2022-01-12 09:21:37 -05:00
Sarita Iyer
5f54d6aca5 Merge branch 'main' into kwacky1-update-actions-memory 2022-01-12 09:13:56 -05:00
Octomerger Bot
0aac4b7f52 Merge pull request #13975 from github/repo-sync
repo sync
2022-01-12 07:56:48 -06:00
Octomerger Bot
4f82492f46 Merge pull request #24244 from github/repo-sync
repo sync
2022-01-12 07:55:32 -06:00
Octomerger Bot
7a184f537b Merge branch 'main' into repo-sync 2022-01-12 07:51:52 -06:00
Octomerger Bot
db7709075d Merge branch 'main' into repo-sync 2022-01-12 07:50:04 -06:00
Ryosuke Nakayama
e1a64337d3 Fix render translation test (#24235) 2022-01-12 13:26:58 +00:00
Ramya Parimi
2d2266f1c3 Merge pull request #13914 from AnilSeervi/getting-permanent-links-to-files
Update keyboard tag to meet new style guidelines
2022-01-12 07:18:12 -06:00
Ramya Parimi
5ed3628a06 Merge branch 'main' into getting-permanent-links-to-files 2022-01-12 07:11:09 -06:00
Octomerger Bot
5b3956615d Merge pull request #13973 from github/repo-sync
repo sync
2022-01-12 07:05:51 -06:00
Octomerger Bot
917865b2e2 Merge pull request #24243 from github/repo-sync
repo sync
2022-01-12 07:02:01 -06:00
Octomerger Bot
02dbcc4d17 Merge branch 'main' into repo-sync 2022-01-12 06:58:32 -06:00
Octomerger Bot
e1efc97d40 Merge branch 'main' into repo-sync 2022-01-12 06:58:12 -06:00
Octomerger Bot
2396295c29 Merge pull request #13969 from github/repo-sync
repo sync
2022-01-12 06:36:14 -06:00
Octomerger Bot
9fc4743e86 Merge pull request #24241 from github/repo-sync
repo sync
2022-01-12 06:28:50 -06:00
docubot
de26688dba Merge branch 'main' into repo-sync 2022-01-12 04:28:50 -08:00
Ramya Parimi
be018b08fb Merge pull request #13909 from AnilSeervi/using-codespaces-with-github-cli
Update keyboard shortcut to meet new style guidelines
2022-01-12 06:27:31 -06:00
Octomerger Bot
f563b50521 Merge branch 'main' into repo-sync 2022-01-12 06:25:18 -06:00
Octomerger Bot
20d46680ea Merge branch 'main' into repo-sync 2022-01-12 06:21:48 -06:00
Ramya Parimi
b2aad8632e Merge branch 'main' into using-codespaces-with-github-cli 2022-01-12 06:20:32 -06:00
Ramya Parimi
6cc0e669ab Merge pull request #13903 from AnilSeervi/vscode-command-palette
Update keyboard shortcuts to meet new style guidelines
2022-01-12 06:15:24 -06:00
Ramya Parimi
8ce809e300 Merge branch 'main' into vscode-command-palette 2022-01-12 06:08:40 -06:00
GitHub Actions
9fce1828ed update search indexes 2022-01-12 10:12:41 +00:00
Octomerger Bot
6670ab29a9 Merge pull request #13959 from github/repo-sync
repo sync
2022-01-11 21:58:35 -06:00
Octomerger Bot
bfdcc34b3a Merge branch 'main' into repo-sync 2022-01-11 21:51:50 -06:00
GitHub Actions
60e7477957 update search indexes 2022-01-12 02:19:11 +00:00
Octomerger Bot
688991c03a Merge pull request #13958 from github/repo-sync
repo sync
2022-01-11 19:50:29 -06:00
Octomerger Bot
8f17dd617b Merge branch 'main' into repo-sync 2022-01-11 19:42:35 -06:00
Peter Bengtsson
be826a21cb remove all uses of include tool-switcher (part 2) (#24222) 2022-01-12 01:26:38 +00:00
Octomerger Bot
25af192838 Merge pull request #13957 from github/repo-sync
repo sync
2022-01-11 19:14:43 -06:00
Octomerger Bot
96ac5ffdb6 Merge branch 'main' into repo-sync 2022-01-11 19:06:39 -06:00
docubot
e494745066 New translation batch for pt (#24210)
* Add crowdin translations

* Run script/i18n/homogenize-frontmatter.js

* Run script/i18n/fix-translation-errors.js

* Run script/i18n/lint-translation-files.js --check parsing

* Run script/i18n/lint-translation-files.js --check rendering

* run script/i18n/reset-files-with-broken-liquid-tags.js --language=pt

* run script/i18n/reset-known-broken-translation-files.js

* Check in pt CSV report

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2022-01-12 00:39:31 +00:00
Octomerger Bot
edb8eb84dd Merge pull request #13955 from github/repo-sync
repo sync
2022-01-11 17:29:24 -06:00
Octomerger Bot
23195b8454 Merge branch 'main' into repo-sync 2022-01-11 17:21:38 -06:00
Marcelo Jacobus
cf2603ac01 fix: retry translation batch PR creation if we hit a 502 (#23633)
* Fix error on Pull Request creation

Fix https://github.com/github/docs-engineering/issues/1293. This
solution does not really handle the error, it just prevents the script
from stopping, since sometimes we get a timeout error from the load
balancer even though the request was successfully handled by rails.

* Add a nudge to the localization folks when a batch is created

Ever since the translation batches are created and merged automatically
it is difficult to see when they started or finished correctly. Also,
sometimes, docubot automatically closes some pull requests, and at the
time of this writing I don't know the reason.

This change intends to make batches not go unnoticed. We can revert it
later if this becomes too noisy and the process is stable.

* fix: remove ping to docs-localization team from batch PR body

Discussion: https://github.com/github/docs-internal/pull/23633/files#r771896816

* refactor: move report-reset-files into its own step

* refactor: move git push into its own step

* spike: move PR creation into its own script

* feat: annotate createTranslationBatchPullRequest fn

* enhancement: embed nwo#pr format in logger

* fix: import fs directly

* fix: import @actions/github directly

* docs: update annotations in fn block

* build: update step name to be self-documenting

* Retry on 502

* Rename method to reflect its behaviour

* Update codeowners

* Fix comment

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Appease linter and fix script

* Move options to main

* Rename var

* Refactor options

* Check for response

* First try to find and then to create the PR

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Peter Bengtsson <peterbe@github.com>

* Update .github/actions-scripts/create-translation-batch-pr.js

Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>

* Remove unreachable conditional

* Lint

* fix: remove duplicate annotation

Co-authored-by: docubot <67483024+docubot@users.noreply.github.com>
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 23:06:18 +00:00
Octomerger Bot
18bd5e93fc Merge pull request #13952 from github/repo-sync
repo sync
2022-01-11 16:21:50 -06:00
Peter Bengtsson
8e25d1e40d remove all uses of include tool-switcher (part 1) (#24220)
* remove all uses of `include tool-switcher`

* two more files
2022-01-11 21:31:12 +00:00
Octomerger Bot
6e1bf63489 Merge pull request #24221 from github/repo-sync
repo sync
2022-01-11 15:27:16 -06:00
Octomerger Bot
07eebd1119 Merge branch 'main' into repo-sync 2022-01-11 15:23:22 -06:00
James M. Greene
23186b969c Fix CodeQL security alerts (#24198)
* Attempt to eliminate polynomial regular expression used on uncontrolled data

Closes https://github.com/github/docs-internal/security/code-scanning/112?query=ref%3Arefs%2Fheads%2Fmain
Closes https://github.com/github/docs-internal/security/code-scanning/107?query=ref%3Arefs%2Fheads%2Fmain

* Attempt to eliminate incomplete multi-character sanitization

Closes https://github.com/github/docs-internal/security/code-scanning/113?query=ref%3Arefs%2Fheads%2Fmain

* Keep closer to original pattern for now

Co-authored-by: Peter Bengtsson <peterbe@github.com>

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 21:11:09 +00:00
Peter Bengtsson
667cc62e04 Merge pull request #13945 from github/peterbe-patch-1
Add --logHeapUsage to jest
2022-01-11 16:06:45 -05:00
James M. Greene
fc25c1a7be Simplify and correct 'npm test' usage in Workflows (#24219) 2022-01-11 21:05:39 +00:00
Octomerger Bot
3ffaa5c8d1 Merge pull request #13918 from github/repo-sync
repo sync
2022-01-11 14:57:47 -06:00
Grace Park
d5097397c8 underline links on toc pages (#24217) 2022-01-11 20:48:35 +00:00
James M. Greene
867285480e Revert back to using Next.js v11 (#24199)
Primarily a revert of #24082

Co-authored-by: Peter Bengtsson <peterbe@github.com>
2022-01-11 20:37:24 +00:00