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
Sarah Schneider
9bfb31c4eb
Merge branch 'main' into check-for-outdated-links
2021-02-26 14:00:27 -05:00
Sarah Edwards
46d8de0040
add output arg ( #17992 )
2021-02-25 16:49:27 +00:00
James M. Greene
e94b52d7b5
Conditionally disable the TLS unauthorized cert check based on REDIS_URL ( #17978 )
...
* Conditionally disable the TLS unauthorized cert check based on REDIS_URL
* Update middleware/rate-limit.js
2021-02-24 23:35:39 +00:00
Sarah Schneider
5f223ce630
Merge branch 'check-for-outdated-links' of github.com:github/docs-internal into check-for-outdated-links
2021-02-24 16:13:43 -05:00
Sarah Schneider
030eb97366
simplify boolean var
2021-02-24 16:12:58 -05:00
Sarah Schneider
d0e894ffd1
Merge branch 'main' into check-for-outdated-links
2021-02-24 16:07:55 -05:00
Sarah Schneider
7fb5ab6da5
Update script/update-internal-links.js
...
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2021-02-24 15:33:23 -05:00
Sarah Schneider
50bbee7793
lint
2021-02-23 21:27:16 -05:00
Sarah Schneider
d747ab227d
preserve any inline markup in link titles
2021-02-23 21:18:06 -05:00
Sarah Schneider
a687c39e8a
lint
2021-02-23 20:48:38 -05:00
Sarah Schneider
6fa5bd69f0
add script to update internal links
2021-02-23 20:29:57 -05:00
Sarah Schneider
4c052c20da
update archival script to create top-level redirects.json file instead of a million stubbed redirects
2021-02-22 11:13:20 -05:00
James M. Greene
8148677058
"Enable TLS" for Heroku Redis by ignoring self-signed TLS certificates ( #17911 )
...
* 'Enable TLS' for Heroku Redis by ignoring self-signed TLS certificates when creating Redis connections
https://devcenter.heroku.com/articles/heroku-redis#ioredis-module
* Clarify comments
2021-02-18 14:39:18 -06:00
Sarah Schneider
39b68544ec
add comment
2021-02-18 14:47:56 -05:00
Sarah Schneider
5d819336c3
fix buggy output if 1 invalid link is found and add do-not-retry option for debugging
2021-02-17 10:02:03 -05:00
Rachael Sewell
01e52046f0
migrate away from AWS S3 ( #17669 )
2021-02-12 10:25:45 -08:00
Jason Etcovitch
e68e6a5185
Revert "Revert "Absorb @github-docs/frontmatter ( #17783 )" ( #17793 )" ( #17799 )
...
* Revert "Revert "Absorb @github-docs/frontmatter (#17783 )" (#17793 )"
This reverts commit 11baf43eee .
* Move revalidator to depedencies
2021-02-11 11:15:59 -05:00
Jason Etcovitch
11baf43eee
Revert "Absorb @github-docs/frontmatter ( #17783 )" ( #17793 )
...
This reverts commit 1e96c03489 .
2021-02-10 20:28:41 +00:00
Jason Etcovitch
1e96c03489
Absorb @github-docs/frontmatter ( #17783 )
2021-02-10 15:10:46 -05:00
Vanessa Yuen
25ff6b94ff
Translation tools to make our lives easier ( #17712 )
...
* create script to fix easy-to-fix frontmatter errors in translation
* improve reset-translated-file.js: allow reverting to the same file from `main` branch
* fix release-notes as well
* also lints liquid in frontmatter
2021-02-09 10:11:12 -05:00
Kevin Heis
e07c603b7d
Remove html-truncate, truncate with CSS instead ( #17630 )
...
* Remove html-truncate, truncate with CSS instead
* Update search.js
2021-02-02 17:55:05 +00:00
Jason Etcovitch
8d4f3e65fe
Move test & script utils out of /lib ( #17517 )
...
* Remove an unused file
* Move authenticate-to-aws to scripts/utils
* Move crowdin-config to tests/utils
* Remove add-frontmatter-to-file
* Move find-unused-assets
* Move git-utils to script/utils
* Move lib/github to script/utils
* Revert "Remove an unused file"
This reverts commit cd93ad846a0354e957359f23124eb0724c9147cf.
* Move find-extraneous-translation-files to script/utils
* We already have tests/helpers
* Rename script/utils => helpers for consistency
* Forgot a path
* Fix path to crowdin-config
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2021-01-29 10:30:51 -05:00
Kevin Heis
8b86fd8fef
Reduce minified JS bundle size from 189kb to 73kb ( #17552 )
2021-01-28 22:12:04 +00:00
Sarah Schneider
72f506ca0b
Merge branch 'main' of github.com:github/docs-internal into exclude-some-links
2021-01-28 16:48:32 -05:00
Sarah Schneider
8fd2b9899f
change VERSION to more specific DOCS_VERSION
2021-01-28 16:42:59 -05:00
Sarah Schneider
9b5b81fa1b
add allowed values enum
2021-01-28 16:40:02 -05:00
Sarah Schneider
d2f66584d5
lint
2021-01-26 15:15:31 -05:00
Sarah Schneider
5f148ce71f
support checking of separate versions via env var
2021-01-26 15:06:45 -05:00
Sarah Schneider
f9d52043c8
do not check deprecated docs, homepages and child pages alike
2021-01-26 13:22:18 -05:00
Jason Etcovitch
b4171bf0d5
Use AST parsing for lint file checking ( #17471 )
...
* Add markdown parsing dependencies
* Use it for the link test
* Use ast tests for hard-coded language
* Dedupe visiting for links
* Add new mdast utils to check-deps exclusions
2021-01-26 17:45:23 +00:00
Sarah Schneider
108b9b6d4a
Merge branch 'main' of github.com:github/docs-internal into error-handling-for-link-check-script
2021-01-25 16:35:33 -05:00
Sarah Schneider
65be8e0cff
add some prompts
2021-01-25 16:35:26 -05:00
Kevin Heis
99a85ff4ef
Push query string when searching ( #17417 )
...
* Push query string when searching
* Update search.js
* Fix browser test, remove querystring dependency (new shiny!)
* Remove language and version from visible URL
* Avoid casting event interface
* Update search.js
* Update browser.js
2021-01-25 11:52:55 -08:00
Chiedo John
852a8cde15
Use self-hosted runners for docs-internal ( #17442 )
...
Use self hosted runners for docs-internal
Co-authored-by: chiedo <chiedo@users.noreply.github.com >
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-01-25 08:41:53 -05:00
Sarah Schneider
5f35c67d72
ran script/update-readme
2021-01-22 16:05:43 -05:00
Sarah Schneider
7cc8b3bbd1
add clarifying comments
2021-01-22 16:05:29 -05:00
Sarah Schneider
f1b2a41a26
make broken link output easier to find
2021-01-22 13:58:59 -05:00