1
0
mirror of synced 2026-01-02 12:04:38 -05:00
Commit Graph

67 Commits

Author SHA1 Message Date
Peter Bengtsson
9ff07444ea Delete 'linkinator' dependency (#36242)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2023-04-06 18:04:07 +00:00
Kevin Heis
39f88c21bf Always allow docs paths (#36121) 2023-04-03 18:15:14 +00:00
Peter Bengtsson
be30059bc5 get popularities from docs-internal.popular-pages (#35583) 2023-03-15 19:47:32 +00:00
Peter Bengtsson
0536e638b5 Debugging Playwright tests (#35534)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2023-03-14 18:30:14 +00:00
Laura Coursen
2bd845f23b [Megabranch] Add new top-level docset, "Migrations" (#35085)
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Sarah Schneider <sarahs@github.com>
Co-authored-by: Vanessa <vgrl@github.com>
2023-03-09 14:47:35 +00:00
Sophie
97600f0606 [Improvement]: Tell GHES admins that they can download the latest Dependabot action to get better ecosystem support (#33659)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
2023-02-20 08:47:29 +00:00
Rachael Sewell
6ab083d643 Reorganize REST code (#34323) 2023-02-14 02:13:21 +00:00
Kevin Heis
7bf7aff237 A few tweaks to make local tests run (#34241) 2023-01-27 21:27:55 +00:00
Sarita Iyer
0ad7a3905a CodeQL CLI docs conversion megabranch (#32876)
Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
Co-authored-by: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
Co-authored-by: Henning Makholm <hmakholm@github.com>
2023-01-20 17:24:48 +00:00
Rachael Rose Renk
7bbcd64067 Remove reference to Go CodeQL relocation (#32426)
Co-authored-by: Laura Coursen <lecoursen@github.com>
2022-11-10 18:55:50 +00:00
Jules
cf49b4e28d Merge branch 'universe-2022-megabranch' into codespaces-universe-megabranch 2022-11-08 10:12:42 +01:00
Isaac Brown
31274d9415 [Universe] - Codespaces Templates - combined work (#32149)
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: hubwriter <hubwriter@github.com>
Co-authored-by: JP Ungaretti <19893438+jungaretti@users.noreply.github.com>
2022-11-03 13:30:55 +00:00
Martin Lopes
4f06ccf0a3 GitHub Actions Importer - [Public Beta] (#31630)
Co-authored-by: Ethan Dennis <ethanis@github.com>
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Jennifer Kerns <47341891+JenniferKerns@users.noreply.github.com>
2022-11-03 14:55:29 +10:00
Ethan Palm
cdde0c2a04 Update site-policy-reminder action to include info about syncing and merging PRs (#30809) 2022-09-20 11:06:25 -07:00
hubwriter
dc311ee2ec Update repository-references.js 2022-09-01 15:18:24 +01:00
Chris Westra
b90f86e80a Add ssh commit verification content (#29819) 2022-08-23 17:31:31 +00:00
Sarah Schneider
7956d9e30c Allow .git extension in public repo names (#30053)
accommodate .git in repo names
2022-08-18 17:17:16 +00:00
hubwriter
2d41221554 Update repository-references.js
Add `gh-net` and alpha sort
2022-08-11 13:54:53 +01:00
Matt Pollard
965e27ca3a Merge branch 'main' into copilot-ga-megabranch 2022-06-20 09:43:14 +02:00
Sarah Edwards
f85983a6cf Merge branch 'main' into ske-dep-api 2022-06-09 13:15:31 -07:00
Matt Pollard
fcfedf6e47 Use different repository name; exclude 2022-06-08 14:38:00 +02:00
Zach Steindler
33423ee77e Add example content around connecting from Actions to a private network 2022-05-27 12:54:40 +00:00
Felicity Chapman
f8f66a2f75 Add troubleshooting section for Go query relocation (#27784) 2022-05-24 08:15:05 +00:00
Robert Sese
bb0280213f More detailed test error message (#27851)
More details for fixing test failure
2022-05-19 22:57:06 +00:00
skedwards88
3a796351dc Merge branch 'main' into ske-dep-api 2022-05-12 11:29:25 -07:00
skedwards88
ce4e46714d allow ref to repo 2022-05-12 11:20:56 -07:00
Orhan Toy
716ecc0803 Update template repo link (#27595) 2022-05-12 08:48:43 +01:00
Peter Bengtsson
2cabec62aa remove the need for the async NPM package (#27119) 2022-04-21 17:02:08 +00:00
Keith Cirkel
a594f4027d Update supported-browsers.md (#26701) 2022-04-06 16:00:12 +00:00
Sarita Iyer
9913717066 Update repository-references.js 2022-02-22 12:38:57 -05:00
Peter Bengtsson
a0af48149e delete old deploy.js script (#24862) 2022-02-08 16:11:11 +00:00
Mike McDonald
04da545821 Adding Codespace prebuilds to docs-internal (#23952)
* Adding Codespaces prebuilds
* Adding permissions
* Use pinned SHA for github/codespaces-precache action
* Add comments
* Add codespaces-precache repo to reference allow list

Co-authored-by: James M. Greene <jamesmgreene@github.com>
2022-01-11 00:23:08 -06:00
Patrick Thomson
49882bb8d8 Document precise and search-based code navigation strategies. (#23177) 2021-12-09 16:41:49 +00:00
Peter Bengtsson
26014646dd Massive DIFF_FILES crashes bash in repo-sync (#23326)
* Massive DIFF_FILES crashes bash in repo-sync

Part of #1304

* gst

* make exception
2021-12-02 18:57:38 +00:00
Peter Bengtsson
2f6f076cc0 LinkChecker and better linksToSkip function (#23001)
* LinkChecker and better linksToSkip function

Part of #1253

* try now

* escaped

* make sure it skips all non-english links

* feedbacked
2021-11-30 21:39:39 +00:00
Peter Bengtsson
e59c79acd0 speed up repository reference checks (#23178)
* speed up repository reference checks

Part of #1246

* feedbacked

* microoptimization
2021-11-30 21:32:33 +00:00
Matt Pollard
307e8094ec Backport updated content from GitHub AE M2 megabranch and version for ghae-next (#21525) 2021-10-04 16:11:57 +00:00
Melanie Yarbrough
2a10e30adc New workflow to aid internal contributions in PRs (#21612)
Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-09-29 13:09:26 -04:00
Kevin Heis
9ba2e1dd41 Refactor repo ref tests (#21631)
* Refactor repo ref tests

* Update repository-references.js

* Update repository-references.js

* Update repository-references.js

* Update repository-references.js
2021-09-21 21:20:15 +00:00
AlonaHlobina
5f01af06ec Update beta-codeql-runner.md (#21605)
* Update beta-codeql-runner.md

* Rename beta-codeql-runner.md to deprecation-codeql-runner.md

* update reusable name

* Update about-codeql-code-scanning-in-your-ci-system.md

* Update running-codeql-code-scanning-in-a-container.md

* Update uploading-a-sarif-file-to-github.md

* Update sarif-support-for-code-scanning.md

* Update running-codeql-runner-in-your-ci-system.md

* Update configuring-codeql-cli-in-your-ci-system.md

* Update configuring-codeql-runner-in-your-ci-system.md

* Update running-codeql-runner-in-your-ci-system.md

* Update content/github/finding-security-vulnerabilities-and-errors-in-your-code/using-codeql-code-scanning-with-your-existing-ci-system/troubleshooting-codeql-code-scanning-in-your-ci-system.md

* Update configuring-codeql-cli-in-your-ci-system.md

* Apply suggestions from code review

Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>

* update codeql runner reusable

* add new article about runner to cli migration

* fix typo in new article title

* Update deprecation-codeql-runner.md

* Update deprecation-codeql-runner.md

* Apply suggestions from code review

* fix failing test

* fix failing test

* Update versioning to fix failing test

* add `codeql-cli-binaries` to allow list

Co-authored-by: James Fletcher <42464962+jf205@users.noreply.github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
2021-09-21 13:12:11 -07:00
James M. Greene
08db1c970c Refactor Staging deployment workflow to support open source PRs (#20459)
* Add a Staging build workflow

* Remove all commented out code from build workflow

It will be handled in https://github.com/github/docs-engineering/issues/726

* Use pinned version of upload-artifact action

* Tweaks to build

* Minor deployment script refactoring

* Update the Staging deployment workflow

* Missed refactoring tweak

* Add relevant comments

* Update Heroku app naming convention for Actions deploy to include 'gha-' prefix

* Update Heroku app ConfigVars and SourceBlob for optional prebuilt app

* Remove obsolete 'dist/' dir from PR build artifact

See https://github.com/github/docs-internal/pull/20405

* Ensure a new enough version of npm is used

* Switch to creating a tarball for upload

* Remove obsolete 'layouts' dir from file list

* Ditch the verbosity for 'tar'... too many files

* Add tarball support to deploy

* Add esm workaround to deploy script

See https://github.com/actions/github-script/issues/168

* Temporarily ignore staging deploy workflow from workflow linter

* Update deployment to use a Heroku Build Source instead of a GitHub Actions Artifact

* Update undeploy workflow to use ESM workaround

See https://github.com/actions/github-script/issues/168

* Add 'esm' package to optionalDependencies to better support workaround

See https://github.com/actions/github-script/issues/168

* Add Slack notifications for workflow failures

* Wrap AppSetup polling in try-catch

* Improve dyno monitoring

* Rename 'script/deploy' to have a .js extension #esm

* Update script references to include the extension

* Use non-deprecated Sources API for Heroku

* Use normal quotes

* Stub in a step to mark deployment inactive after timing out

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-08-25 20:45:51 +00:00
Kevin Heis
86b6b1ad6f Remove storybook (#21037)
* Remove storybook

* Update index.js
2021-08-23 12:07:54 -07:00
Kevin Heis
ae7b652463 Create a storybook with callout component (#20902)
* Create a storybook with callout component

* Add to dist/storybook

* Remove references to dist dir, storybook takes place

* Update Callout.stories.tsx

* Update Dockerfile

* Update Dockerfile
2021-08-17 20:28:59 +00:00
Grace Park
2dbea3737a Removing algolia (#20633) 2021-08-05 13:10:51 -04: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
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
James M. Greene
f388a3d550 Deploy to staging manually using a script (#19769)
* Add 'script/deploy' to enable manual deploys to Heroku

* Pass API tokens into 'deploy-to-staging' module usage

* Construct Octokit instance to pass in

* Get PR branch name and verify state

* Reorganize

* Rename option to 'octokit'

* Add missing option

* Actually use the convenience methods for convenience

* Simplify top-level script

* Top-level script revisions

* Add parse-pr-url module

* Add create-staging-app-name module

* Remove misplaced comment

* Pass in owner

* Use owner param

* More variables

* Pass owner along more

* Correct prNumber param reference

* Add WIP deploy-to-staging module

* Prevent 'scripts/' and '.github/actions-scripts/' files from being modified in open source repo

* Extract PR author earlier

* Add note about optionally supplying DOCUBOT_REPO_PAT env var

* Override Heroku env var during AppSetup creation instead of later to avoid triggering a second deploy

* Updates to deploy-to-staging module

* Lots of updates

* Add dyno start-up monitoring and warmup requests

* Ignore 'script/deploy' in the repository-references test

* Correct path to Octokit helper

* Temporarily add a 'gha-' prefix to environment names

* Log whole error if terminal. Good for Octokit errors!

* Correct Octokit preview configuration

* Add more logging around Heroku build and release

* Added more timings to log messages

* Monitor dyno states specifically from the dyno list view to avoid 404 oddities when Free dynos are dropped and non-Free dynos are added

* Don't wait for AppSetup status as it includes the Build time

* Updating logging since we don't see DeploymentStatus update messages in the UI =(

* Remove commented out code

* Refactor to extract more properties from the PR object

* Fix reference to pull request number

* Increase Heroku polling intervals from 2.5 seconds to 5 seconds

* Remove unhelpful createDeploymentStatus API calls

* Workaround Heroku's secondary release upon app creation
2021-06-14 22:32:07 +00:00
Martin Lopes
c34031a583 Keep Actions docs up to date with security practices (#19076)
* Update security-hardening-for-github-actions.md

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Jaroslav Lobačevski <jarlob@github.com>
2021-05-25 22:26:51 +10:00
James M. Greene
885da5b3d3 Local run of Translations patching process over batch (#19360)
* New Crowdin translations by Github Action

* Reset broken translated files to English

* Ran script/i18n/homogenize-frontmatter.js

* Ran script/fix-translation-errors.js

* Reverted translated files with parsing and rendering errors

* fix malformed liquid

* add next directory to exclude list

* currentversion -> currentVersion

* fix liquid errors

* fix liquid errors

* Reset broken translated files to English

* Ran script/i18n/homogenize-frontmatter.js

* Revert /ja/github/authenticating-to-github/about-authentication-with-saml-single-sign-on

* Reset known broken translation files LAST

* Run script/i18n/homogenize-frontmatter.js

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-05-18 15:07:05 +00:00