Lucas Costi
ee29fedb4e
Remove breaking commander functions ( #20825 )
...
.passCommandToAction() is undefined, and was removed in Commander 7.0.0. See release note: a9c9f17c7e/CHANGELOG.md (deleted)
2021-08-12 20:24:56 +00:00
Kevin Heis
b29e37318a
Remove import x statements ( #20594 )
...
* Clear out most import x
* Update rimraf use
* Move up readme blocks in scripts
2021-07-29 20:28:30 +00:00
Kevin Heis
0b1ff73a46
Update some readFileSync to await readFile with top level await ( #20525 )
...
* Update some readFileSync to await readFile with top level await
* More updates
* Update all-products.js
* Use 'lib/readfile-async.js' in runtime files for better performance
* Remove unnecessary use of 'for await...of' loops
* Revert to importing 'fs/promises'
Co-authored-by: James M. Greene <jamesmgreene@github.com >
2021-07-29 16:45:46 +00:00
Mike Surowiec
9386571aa4
fix: use named export for all-versions ( #20478 )
...
* fix: use named export for all-versions
* run prettier
2021-07-22 19:29:00 +00:00
Sarah Schneider
cc2d10d1b3
Rewrite Liquid deprecation script ( #20225 )
2021-07-19 22:36:15 +00:00
Kevin Heis
8a56437c93
Pretty format ( #20352 )
...
* Update prettier flow to include JS
* Run prettier
* ...run prettier
2021-07-14 14:35:01 -07:00
Kevin Heis
42e785b0a8
Migrate CommonJS to ESM ( #20301 )
...
* First run of script
* Get the app running --- ish
* Get NextJS working
* Remove `node:`
* Get more tests passing in unit directory
* Update FailBot test to use nock
* Update test.yml
* Update Dockerfile
* tests/content fixes
* Update page.js
* Update build-changelog.js
* updating tests/routing
* Update orphan-tests.js
* updating tests/rendering
* Update .eslintrc.js
* Update .eslintrc.js
* Install jest/globals
* "linting" tests
* staging update to server.mjs
* Change '.github/allowed-actions.js' to a ESM export
* Lint
* Fixes for the main package.json
* Move Jest to be last in the npm test command so we can pass args
* Just use 'npm run lint' in the npm test command
* update algolia label script
* update openapi script
* update require on openapi
* Update enterprise-algolia-label.js
* forgot JSON.parse
* Update lunr-search-index.js
* Always explicitly include process.cwd() for JSON file reads pathed from project root
* update graphql/update-files.js script
* Update other npm scripts using jest to pass ESM NODE_OPTIONS
* Update check-for-enterprise-issues-by-label.js for ESM
* Update create-enterprise-issue.js for ESM
* Import jest global for browser tests
* Convert 'script/deploy' to ESM
Co-authored-by: Grace Park <gracepark@github.com >
Co-authored-by: James M. Greene <jamesmgreene@github.com >
2021-07-14 13:49:18 -07:00
Sarah Schneider
7de66fe4ef
Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions
2021-06-24 10:14:50 -04:00
Sarah Schneider
5e10cea9ac
Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions
2021-06-23 14:45:10 -04:00
Grace Park
d3d1902414
Merge pull request #20017 from github/upgrade-esm
...
Enforce and Move to Top Level require
2021-06-22 11:27:48 -07:00
Grace Park
7f6a277a8e
clear out dynamic require
2021-06-18 13:08:28 -07:00
Grace Park
8154d3b701
adding mostly readfilesync of path updates to require
2021-06-17 20:22:04 -07:00
Sarah Schneider
a62226b91c
lint
2021-06-16 13:17:05 -04:00
Sarah Schneider
2088988b8a
update ghae script to use new short versioning
2021-06-16 13:15:24 -04:00
Sarah Schneider
32cead8243
update ghec script to use new short versioning
2021-06-16 13:15:15 -04:00
Rachael Sewell
bdf724c922
Update a few enterprise release steps ( #19072 )
2021-06-15 15:07:15 -07:00
Kevin Heis
936f3e1b48
Create add-ghec-to-fpt.js ( #19610 )
...
* Create add-ghec-to-fpt.js
* Update add-ghec-to-fpt.js
* Update add-ghec-to-fpt.js
* Fix regexp
* Update script/enterprise-server-releases/add-ghec-to-fpt.js
Co-authored-by: James M. Greene <JamesMGreene@github.com >
* Update script/enterprise-server-releases/add-ghec-to-fpt.js
Co-authored-by: James M. Greene <JamesMGreene@github.com >
* Rename github-ec to enterprise-cloud
* Update script/enterprise-server-releases/add-ghec-to-fpt.js
Co-authored-by: James M. Greene <JamesMGreene@github.com >
* Apply suggestions from code review
Co-authored-by: Rachael Sewell <rachmari@github.com >
Co-authored-by: James M. Greene <JamesMGreene@github.com >
Co-authored-by: Rachael Sewell <rachmari@github.com >
2021-06-10 18:19:25 +00:00
Sarah Schneider
dbc78136c0
change yaml.safeDump to yaml.dump
2021-06-07 15:14:53 -04: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
Rachael Sewell
071317da3d
Tweak the rest api ghes release script ( #18509 )
2021-03-31 17:22:25 +00: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
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
Kevin Heis
d7eb248a10
Fix a bunch of random typos ( #17129 )
...
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com >
2021-01-05 16:07:27 +00:00
Sarah Schneider
8f0093c63a
OpenAPI tooling updates ( #16320 )
2020-11-24 12:20:10 -08:00
Sarah Schneider
2ea2ad130f
add data/graphql copying step
2020-11-24 14:45:29 -05:00
Sarah Schneider
4ebb52e94d
update -> create for consistency
2020-11-20 11:08:53 -05:00
Sarah Schneider
838f770cf0
consistency
2020-11-19 16:36:43 -05:00
Sarah Schneider
51e20e65ba
new graphql script
2020-11-19 16:36:17 -05:00
Sarah Schneider
ac3d2bab56
update relative paths
2020-11-18 19:52:34 -05:00
Sarah Schneider
84fa4ed512
rename
2020-11-18 19:52:25 -05:00
Sarah Schneider
32873110f8
delete old scripts and reorg GHES scripts into subdirs
2020-11-18 16:57:58 -05:00