Sarah Schneider
eb44f9947d
add new content migration script for early access updates
2021-04-15 14:36:36 -04: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
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
Marc-Andre Giroux
1635048d0f
Add an openapi-check ci check and dockerize it ( #18652 )
2021-04-09 11:02:53 -07: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 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
Rachael Sewell
071317da3d
Tweak the rest api ghes release script ( #18509 )
2021-03-31 17:22:25 +00:00
Sarah Schneider
ef8602c639
lint
2021-03-31 12:57:14 -04:00
Sarah Schneider
150696005b
Merge branch 'main' into script-to-move-toc-links-into-frontmatter
2021-03-31 12:51:23 -04:00
Sarah Schneider
cdf807fbbd
Update script/content-migrations/remove-map-topics.js
...
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-03-31 12:51:15 -04:00
James M. Greene
2d08ebe6cd
Tidy up the Redis purge script ( #18506 )
...
* Improve comment accuracy
* Name local constant for the create-client module ref consistently
2021-03-31 02:49:27 +00:00
James M. Greene
d8e0b29fcd
Use node-redis for soft-purging cache on deploy ( #18474 )
...
* Use [node-]redis as a direct dependency
* Extract Redis client creation to its own module
* Attach extensive logging in the Redis client creation module
* Allow the rate limiter to pass requests when Redis is disconnected
* Update rate-limit-redis
* Default error input to empty object for formatRedisError method
* Provide a name for the rate limiter's Redis client
* Include redis-mock, exclude ioredis/ioredis-mock
* Remove unused RedisAccessor#exists method
* Switch RedisAccessor to use redis/redis-mock
* Provide a name for logging on the Redis page cache
* Remove extraneous trailing space from Redis logging prefix
Our updated use of console.* will already be adding a space after the prefix
* Replace ioredis-mock with redis-mock in tests
* Revert removal of ioredis dependency
* Bind Redis client to async promisified methods
* Extract former RedisAccessor constructor tests to new create-client tests
* Update RedisAccessor tests to work with the callback-based redis client
* Handle formatting Redis errors (or not) with more resiliency
* Remove ioredis as a dependency
* Update Redis soft-purging script to use node-redis
* Do more promisifying for less ugly code
* Add comment explaining TTL of -1
* Make the script executable
2021-03-30 20:40:28 +00:00
Sarah Schneider
61e2ae95cb
we do not actually need any body content in index.md files anymore
2021-03-30 13:16:15 -04:00
Sarah Schneider
335b95e330
Update script/content-migrations/update-tocs.js
2021-03-30 11:33:12 -04:00
Sarah Schneider
c31c0c39eb
Update script/content-migrations/update-tocs.js
2021-03-30 11:26:38 -04:00
Sarah Schneider
3fc88b58e7
Update script/content-migrations/update-tocs.js
2021-03-30 11:19:08 -04:00
Sarah Schneider
bec9cfdb53
run script on translations
2021-03-30 10:55:46 -04:00
Sarah Schneider
2ff36db754
run script on translations and also update category index files
2021-03-30 10:55:36 -04:00
Sarah Schneider
088aaf648c
add script and helper module
2021-03-29 19:38:29 -04:00
Rachael Sewell
80bdffe636
restructure map topics ( #18042 )
2021-03-29 12:59:08 -07:00
Vanessa Yuen
a8d54c9af7
Improvements in tools to help merge crowdin PRs ( #18409 )
...
- add `script/test-render-translation.js` to render all translated content to catch malformed liquid that would cause render errors
- improve test output for `script/fix-translation-errors.js` and `tests/content/lint-files.js`
- make it so `script/reset-translated-file.js` can handle files that have been renamed
2021-03-26 19:21:45 +00:00
Rachael Sewell
a9bee89188
Remove sentence case from openapi response ( #17872 )
2021-03-25 13:47:55 -07:00
Rachael Sewell
0df04f99c5
deprecate 2.20 version ( #18354 )
2021-03-23 19:38:04 +00:00
James M. Greene
6e20ed7927
Implement app clustering ( #17752 )
...
* Install throng for easy cluster management
* Extract the Express app construction into its own file
* Switch server.js to use app clustering for deployed environments
* Worker count is based on the lesser of process.env.WEB_CONCURRENCY and the count of CPUs
* Reading clustered output is difficult, let's prefix the std{out,err} streams
Co-authored-by: Jason Etcovitch <jasonetco@github.com >
2021-03-19 20:07:46 +00:00
Rachael Sewell
28ff566293
rest api enterprise hostname fix ( #18095 )
2021-03-18 22:16:14 -07:00
James M. Greene
0eec258c01
Fix git branch inconsistencies for Actions ( #18309 )
...
* Update workflows to pass appropriate branch name for pull_request events
* Update Docker building workflow to check appropriate branch name for pull_request events
* Update Windows testing workflow for consistency with non-Windows testing workflow
* Reorder if conditional check
* Update workflow comment
2021-03-18 14:31:31 -05:00
Rachael Sewell
02ee72fa25
add topics attribute to search ( #18212 )
2021-03-17 13:11:29 -07:00
Rachael Sewell
fc38a404d9
check for openapi type property ( #18257 )
2021-03-16 08:59:14 -07:00
Rachael Sewell
c535420c77
decorate script fix ( #18201 )
2021-03-15 18:40:00 -07:00
Rachael Sewell
834163a07a
add topic frontmatter ( #18238 )
2021-03-12 08:17:37 -08:00
Rachael Sewell
e067616355
add script to read topics spreadsheet ( #18175 )
2021-03-11 17:20:27 -08:00
James M. Greene
9e31597ee4
Use promisified fs.readFile instead of fs.promises.readFile ( #18204 )
...
* Create a readFileAsync wrapper module
* Use the readFileAsync wrapper module instead of fs.promises.readFile
* Fix require path in test
2021-03-10 17:57:10 +00:00
Sarah Schneider
67c90c636e
lint
2021-03-02 15:42:37 -05:00
Sarah Schneider
86b39f888b
script should not walk translations content dirs
2021-03-02 15:25:16 -05:00
Sarah Schneider
fc18a1b6ea
fix the regex
2021-03-02 15:11:31 -05:00
Sarah Schneider
4e75f0392e
handle currentVersion with spaces around it that prevent the AST parser from recognizing it as a link
2021-03-02 10:40:31 -05:00
Chiedo John
9cc1350b82
Merge branch 'main' into check-for-outdated-links
2021-03-02 08:08:51 -05:00
Matt Pollard
2db9da5c8f
[DO NOT MERGE] GitHub AE consumables beta megabranch ( #17620 )
...
* Empty commit
* updated beta note for GHAE
* more GHAE update + resolve conflict
* more GHAE updates + prepare for screenshots
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com >
* address remaining review comments
* Revise "About GitHub AE" (#17679 )
* add screenshots to the Configuring article
* reworked to have a separate GHAE section
* list numbering
* more work on screenshots and conditions
* add GHAE screenshots in article
* review screenshots in article
* added more screenshots and updated more articles
* screenshot madness
* fix liquid versioning
* refactor the ghae script
* [GHAE CB/Feb 22]: Add article about data residency for GitHub AE (#17847 )
* add missing GHAE versioning to article
* move screenshots to GHAE asset directory
* forgot to change the path for these two images
* replace CBB screenshot + add better screenshot
* [GHAE CB/Feb 22]: Document upgrades for GitHub AE (#17848 )
* Version article for GitHub AE
* Replace unused variable
* Incorporate reviewer feedback
* Update intro
Co-authored-by: Ethan P <56270045+ethanpalm@users.noreply.github.com >
* [GHAE] Enable IP allow list (#17691 )
* Notes for CC
* Updat permission leves chart
* Add updated article to further reading
* Update gated feature callout with GitHub AE
* Version "Managing allowed IP addresses for your organization" for AE
* Update images
* Update "Restricting network traffic to your enterprise" with new procedures
* remove todo note
* Update audited actions
* Update info about Premium Runners
* Use reusable for Premium Runners
* Change "Premium Runners" to "AE hosted runners"
* Incorporate reviewer feedback
* Use correct reusable
* Version reusable correctly
* [Feb 22] GHAE: Code scanning beta (#17830 )
* Add "github-ae" to all the frontmatter
* GHAE-ify the reusables
* Add some more changes
* Re-use some content
* 🔪 Semmle links
* Revert change re "--external-repository-token" in the CodeQL runner
* Update CodeQL runner token scopes
* Update two screenshots
* Remove mention of GitHub.com from AE + other fixes
* Apply suggestions from code review
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com >
* Use `product_name` variable instead of `product_location`
* Remove confusing phrase
* [Feb 22] GHAE: Code scanning API and webhook docs (#17883 )
* Version API and webhook docs
* Actually add versioning for GHAE
* Fix anchor
* [TEMPORARY] Preview for API endpoints
* Revert API previews
* Update procedure step
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com >
* Update docs for AzureAD Group SCIM support in GHAE (#17892 )
* [GHAE CB] SMTP bootstrapping flow (#17888 )
* draft
* update with AE conntent
* update with tons of versioning
* remove that lie
* fill out the rest of these steps
* update with correct versioning
* more edits
* add images
* reversion most of ae article
* fix versioning
* format correctlly
* words matter
* last image
* update with permmissions
* update versioning
* add link
* apply feedback ❤️
* update with differrent spacing
* update with feedback
* more feedback
* Temporary GHAE release notes for consumables beta launch (#17859 )
* Create release-notes.md
* Add frontmatter
* Add to index file
* Update github-ae-release-notes.md
* Add release notes from Google Doc
* Update finalized docs links that have been reviewed
* OAuth device flow link update
* version for AE
* few fixes
* Update content/admin/overview/github-ae-release-notes.md
* small edits
* whoops
* commit
* update with different links
* used wrong reusable
* fix more brokenness
* Update repository-references.js
* Update repository-references.js
Co-authored-by: Meg Bird <megbird@github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
* [GHAE] Audit public repos (#17917 )
* verifying what we mean by public
* Apply suggestions from code review
* Update content/developers/apps/installing-github-apps.md
Co-authored-by: Laura Coursen <lecoursen@github.com >
* fixing placememnt of liquid conditional
Co-authored-by: Laura Coursen <lecoursen@github.com >
* GHAE packages beta (#17786 )
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com >
Co-authored-by: Martin Lopes <martin389@github.com >
* fix broken links
* [GHAE CB/March 01]: GitHub Actions on GHAE (beta) (#17725 )
* Added initial layout for premium runners
* Restructured content
* Added placeholder for removing premium runner
* Added versioning and warning note for self-hosted runners
* Added versioning and beta notice for actions content
* Rephrased beta note
* Added versioning for API docs, fixes
* Added versioning fixes
* Split Github-hosted and premium topics into separate articles
* Added edits
* Restructured some topics
* Revised "Using premium runners in a workflow"
* Some small fixes
* Fixed typo
* Added fixes to reusable
* Added edits
* Made section titles consistent
* Added billing, group mgmt, reusable steps
* Cropped certain screenshots for future-proofing
* Removed superfluous reusable
* Added fixes
* Revert "Cropped certain screenshots for future-proofing"
This reverts commit c7f24f31fa30d4fe3de2b63fc3cd5feba44ef518.
* Added new section for custom images
* Added versioning for enterprise-admin operations
* Added edits
* Added edits
* Update adding-premium-runners.md
* Removed SHR screenshots. Intending to update them when UI is available.
* Update using-labels-with-premium-runners.md
* Added custom labels section
* Added preview of API docs changes
* Added versioning for ip allow list section
* Removed removal article
* Renamed premium runners to AE hosted runners
* Re-added added API preview
* Fixed links, updated software specs
* Revised "Software specifications" based on feedback
* Fixed typos
* Small fixes
* Added new article "Creating custom images"
* Moved "Creating custom images" link
* Apply suggestions from code review
Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com >
* Added update from review
* Added updates from tech review
* Apply suggestions from code review
Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com >
* Added updates from tech review
* Added updates from tech review
* Added updates from tech review
* Added updates from tech review
* Fixed reusable
* Added fixes
* Added update from tech review
* Removed the dereferenced OpenAPI schema files
* Added fixes
* Fixed links
* Fixed links
* Apply suggestions from code review
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com >
* Added updates from peer review
* Removed sections that are not in beta
* Update viewing-your-github-actions-usage.md
* Update viewing-job-execution-time.md
* Update index.md
* Update about-github-hosted-runners.md
* Restored versioning to match GHES approach
* Fixed link
* Restored self-hosted runner reference to UI steps.
* Updated screenshots
* Updated screenshots and procedures
* Small edits to screenshots
* Added AE url info for SHR
* Removed superfluous versioning
* Update security-hardening-for-github-actions.md
* Update actions-shared.md
* Small edits
* Update usage-limits-billing-and-administration.md
* Update managing-complex-workflows.md
* Additional versioning
* Additional versioning
* version environments api and checkrun deployments for ghae (#17991 )
Co-authored-by: Martin Lopes <martin389@github.com >
* Update reviewing-the-audit-log-for-your-organization.md
* Added versioning for enterprise policy settings
* version configuring artifact retention for AE
* remove AE versioning for connecting to Marketplace
* Apply suggestions from code review
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com >
* Update content/admin/github-actions/getting-started-with-github-actions-for-github-ae.md
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com >
* rewording not public to private
* fixing liquid
* Fixed elseif entries
* Added expectations note
* Revised label management article for AE hosted runners
* Added enterprise-admin note for adding AE hosted runners
* Update enterprise-admin.md
* Update self-hosted-runner-security.md
* Versioned reusable for AE
* Empty commit for CI
Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com >
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com >
Co-authored-by: skedwards88 <skedwards88@github.com >
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com >
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com >
Co-authored-by: runleonarun <runleonarun@github.com >
* Update OpenAPI Descriptions for GHAE
* Update content/admin/overview/github-ae-release-notes.md
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com >
Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com >
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com >
Co-authored-by: shati-patel <shati-patel@github.com >
Co-authored-by: Sarah Schneider <sarahs@github.com >
Co-authored-by: skedwards88 <skedwards88@github.com >
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com >
Co-authored-by: Melanie Yarbrough <11952755+myarb@users.noreply.github.com >
Co-authored-by: Felicity Chapman <felicitymay@github.com >
Co-authored-by: Meg Bird <megbird@github.com >
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com >
Co-authored-by: Laura Coursen <lecoursen@github.com >
Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com >
Co-authored-by: Martin Lopes <martin389@github.com >
Co-authored-by: ahdbilal <55514721+ahdbilal@users.noreply.github.com >
Co-authored-by: Joe Bourne <thejoebourneidentity@github.com >
Co-authored-by: runleonarun <runleonarun@github.com >
Co-authored-by: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com >
2021-03-01 16:07:02 -05:00