Kevin Heis
9ba7e6bc34
Update homogenize-frontmatter script to not stop on errors and concurrency yes ( #19480 )
...
* Update homogenize-frontmatter script to not stop on errors and concurrency yes
* Update homogenize-frontmatter.js
* Speed up by avoiding exists check
Node docs: Using fs.exists() to check for the existence of a file before calling fs.open(), fs.readFile() or fs.writeFile() is not recommended. Doing so introduces a race condition, since other processes may change the file's state between the two calls. Instead, user code should open/read/write the file directly and handle the error raised if the file does not exist.
* Update homogenize-frontmatter.js
Co-authored-by: Zeke Sikelianos <zeke@github.com >
2021-05-24 16:27:50 +00:00
Kevin Heis
f6acb1f08a
Update dependencies ( #19408 )
...
* Update dependencies 2
* Lint fixes
* Update graphql packages
* Update changelog-entry.json
* Update @octokit/rest
* Update commander with help from @rachmari
@rachmari
* Upgrade helmet
* Upgrade js-yaml
* Update server.js
* Update cheerio
* Revert "Update cheerio"
This reverts commit 8aa17c39fbf564ee554037d89e7a473027d16984.
2021-05-19 17:32:47 +00:00
Sarah Schneider
22f7957036
Update script/content-migrations/comment-on-open-prs.js
2021-05-17 16:50:28 -04:00
Sarah Schneider
42baac12b6
use a regular issue comment instead of a PR review comment
2021-05-17 16:15:35 -04:00
Sarah Schneider
805ddfec49
new script to add a comment to all open PRs in docs-internal
2021-05-17 15:41:46 -04:00
Sarah Schneider
0235ab938c
return early, do not run on empty array
2021-05-17 15:41:27 -04:00
Rachael Sewell
ad20a5e23c
crowdin frontmatter cleanup workflow ( #19329 )
2021-05-14 00:10:28 +00:00
James M. Greene
a68d285228
Crowdin remediation process tweaks ( #19252 )
2021-05-13 20:38:43 +00:00
Mike Surowiec
e10c29b1fb
feat: use eslint for dependency checks
2021-05-06 08:31:04 -07:00
Rachael Sewell
29e2006039
exit with logging message ( #19137 )
2021-05-05 18:08:55 +00:00
Zeke Sikelianos
918bd8a54f
update frontmatter homogenisation to sweep all translated files ( #19117 )
...
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
Co-authored-by: James M. Greene <417751+JamesMGreene@users.noreply.github.com >
2021-05-03 23:26:18 +00:00
Rachael Sewell
a926da8b08
Update topics to sentence case ( #19069 )
2021-04-30 19:30:36 -07:00
Rachael Sewell
60d6ecdcb1
fix relative path ( #19073 )
2021-04-29 16:57:07 -07:00
Zeke Sikelianos
2c3b74bb6c
create script to homogenise localised frontmatter ( #19014 )
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-04-29 18:50:09 +00:00
James M. Greene
816a7bbc4e
Follow-up for removing stale apps ( #19056 )
...
* Use existing 'github' script helper to get Octokit instance
* Move @octokit/rest to devDeps
We only use it in scripts, currently
* Removed outdated delete-unused-staging-apps script
2021-04-29 11:09:34 -04:00
James M. Greene
d43b008e62
Remove stale staging apps ( #19034 )
...
* Add a script to remove stale staging apps
* Add a workflow to remove stale staging apps on a regular basis
2021-04-28 21:23:28 +00:00
Sarah Schneider
3cdc9af2c9
update refs again
2021-04-27 14:20:28 -04:00
Marc-Andre Giroux
2deb8275da
Accept glob patterns for source files in openapi-check script ( #18965 )
...
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-04-26 21:56:12 +00:00
Zeke Sikelianos
148c63c5dd
i18n: define translatable properties in frontmatter schema ( #18964 )
...
* i18n: define translatable properties in frontmatter schema
* mark `product` frontmatter as translatable
* lint
2021-04-26 13:24:41 +00:00
Sarah Schneider
81a4b5efcb
Merge branch 'main' into update-new-site-tree-deps
2021-04-22 16:12:13 -04:00
Rachael Sewell
ae4cddcf13
OpenAPI bug fixes ( #18625 )
2021-04-21 15:09:36 -07:00
Sarah Schneider
0093f2e0ee
conditionally remove blank lines in TOC content unless they are within extended markdown tags
2021-04-20 14:41:35 -04:00
Sarah Schneider
5e2a1b51c8
update scripts to fix a few bugs
2021-04-20 12:49:57 -04:00
Sarah Schneider
c3f4dcb368
remove hardcoded TOC links from index files but leave other content
2021-04-20 12:02:57 -04:00
Sarah Schneider
27f0448219
preserve hardcoded markdown content in TOC files
2021-04-20 11:25:22 -04:00
Sarah Schneider
26c351f4ff
Merge branch 'main' of github.com:github/docs-internal into update-new-site-tree-deps
2021-04-15 14:46:27 -04:00
Sarah Schneider
eb44f9947d
add new content migration script for early access updates
2021-04-15 14:36:36 -04:00
Sarah Schneider
a0bdb5ea76
Crowdin merge helper scripts ( #18684 )
2021-04-14 18:49:15 +00:00
Mike Surowiec
ac84e362b0
Merge branch 'main' into update-webpack-dep
2021-04-14 10:30:59 -07:00
James M. Greene
e380867788
Explicitly execute purge-redis-pages script only if Node was found ( #18751 )
2021-04-14 16:03:24 +00:00
Mike Surowiec
4a931237ea
Merge branch 'main' into update-webpack-dep
2021-04-13 16:55:31 -07:00
James M. Greene
85bb052b4f
Heroku release command bash wrapper ( #18743 )
...
* Add tiny Bash wrapper to check for Node before attempting to execute Heroku release script
* Use the wrapper script for the Heroku release command
* Be explicit about exiting with Node's exit code
* If Node is missing, exit using that script's exit code
2021-04-13 21:12:20 +00:00
Mike Surowiec
4b746d037e
Merge branch 'main' into prerender-gql-input-objects
2021-04-13 08:31:56 -07:00
Mike Surowiec
70c1f1ffb9
fix: remove trailing comma
2021-04-13 08:25:43 -07:00
Mike Surowiec
4b7a12f23b
reduce some repitition in prerendering graphql
2021-04-13 08:22:41 -07:00
Felicity Chapman
a59306d1cd
Clarify advice on changes to translations ( #18685 )
2021-04-12 14:31:10 +00:00
Mike Surowiec
02cfde71bf
Merge branch 'main' into prerender-gql-input-objects
2021-04-12 07:21:18 -07:00
Mike Surowiec
2fa97a2287
Merge branch 'main' into update-webpack-dep
2021-04-11 19:46:17 -07:00
Marc-Andre Giroux
1635048d0f
Add an openapi-check ci check and dockerize it ( #18652 )
2021-04-09 11:02:53 -07:00
Sarah Schneider
53b7208fe9
Merge branch 'main' into update-webpack-dep
2021-04-09 12:22:18 -04:00
Mike Surowiec
9185eb3c2a
pre-render graphql input-objects
...
resolves #18269
2021-04-09 08:32:42 -07:00
Sarah Schneider
520ff1bc5f
Merge branch 'main' of github.com:github/docs-internal into move-product-list-to-frontmatter
2021-04-07 14:33:56 -04:00
Sarah Schneider
075840b1c2
ignore assert in dep check
2021-04-07 08:36:05 -04:00
Sarah Edwards
c66b44fcf8
pass include_unpublished when generating the root api files ( #18532 )
2021-04-05 16:46:19 +00:00
github-openapi-bot
10fef4dfad
Update OpenAPI Descriptions ( #18553 )
...
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-04-02 15:45:24 -07:00
Sarah Schneider
107b8e5bc0
Move scheduled tasks code into docs repo ( #17926 )
...
Co-authored-by: Rachael Sewell <rachmari@github.com > - https://github.com/github/docs-internal/pull/18453
2021-04-02 12:42:41 -07:00
James M. Greene
8a22cb1c61
Enable offline queuing for Redis client when purging ( #18570 )
2021-04-02 19:24:03 +00:00
Sarah Schneider
b198a6adf8
update script too
2021-04-01 15:54:54 -04:00
James M. Greene
43d354c1d9
Crowdin script tweaks ( #18516 )
...
* Make script/fix-translation-errors.js executable
* Make script/test-render-translation.js executable
* Update script/test-render-translation.js README
Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com >
2021-03-31 17:53:55 +00:00
Sarah Schneider
edd9343272
Merge branch 'main' into script-to-move-toc-links-into-frontmatter
2021-03-31 13:23:09 -04:00