1
0
mirror of synced 2026-01-29 03:03:52 -05:00
Commit Graph

9577 Commits

Author SHA1 Message Date
Octomerger Bot
efd8afb489 Merge branch 'main' into repo-sync 2021-06-18 06:19:08 +10:00
James M. Greene
21348a29c3 Add support for workflow_dispatch of staging deploy workflow (#19974)
* Add support for workflow_dispatch of staging deploy workflow
2021-06-17 20:13:08 +00:00
Sarah Schneider
1801dc4a8a Merge branch 'main' of github.com:github/docs-internal into add-release-notes-tests 2021-06-17 16:06:57 -04:00
Sarah Schneider
255bb9e0f3 check status code too 2021-06-17 16:06:43 -04:00
Kevin Heis
55e7a69460 Update update-files.js (#19996) 2021-06-17 20:04:20 +00:00
Sarah Schneider
23af2508ff Merge branch 'main' into update-old-script 2021-06-17 16:03:30 -04:00
Octomerger Bot
bcd4e232b4 Merge pull request #19999 from github/repo-sync
repo sync
2021-06-18 05:56:23 +10:00
Octomerger Bot
7def4f04ae Merge pull request #7483 from github/repo-sync
repo sync
2021-06-18 05:53:08 +10:00
Octomerger Bot
6ce17ce852 Merge branch 'main' into repo-sync 2021-06-18 05:47:14 +10:00
Octomerger Bot
8f9016b461 Merge branch 'main' into repo-sync 2021-06-18 05:44:32 +10:00
Octomerger Bot
774adba8b4 Merge pull request #7482 from github/repo-sync
repo sync
2021-06-18 05:40:14 +10:00
Mike Surowiec
ba95c6240e NextJS: enable a sponsors, organizations, discussions, and billing subsections (#19998) 2021-06-17 19:37:50 +00:00
Octomerger Bot
14bb94d1b0 Merge branch 'main' into repo-sync 2021-06-18 05:31:43 +10:00
Octomerger Bot
631031ae88 Merge pull request #19991 from github/repo-sync
repo sync
2021-06-18 05:29:36 +10:00
Octomerger Bot
416b672168 Merge branch 'main' into repo-sync 2021-06-18 05:22:26 +10:00
Grace Park
8665c5930a Merge pull request #19856 from github/fix-zh-links
Update Simplified Chinese hreflang
2021-06-17 12:12:55 -07:00
Grace Park
f779f56918 Merge branch 'main' into redirects-fix 2021-06-17 12:05:21 -07:00
Grace Park
5efaadf456 Merge branch 'main' into fix-zh-links 2021-06-17 12:05:03 -07:00
James M. Greene
3eacb9800e Cancel in-flight Staging deployments when a new commit is pushed (#19997) 2021-06-17 19:04:56 +00:00
Grace Park
a0441d52c6 Merge branch 'main' into redirects-fix 2021-06-17 11:56:16 -07:00
Grace Park
33a92f7da2 Merge branch 'main' into fix-zh-links 2021-06-17 11:56:03 -07:00
Mike Surowiec
1fbaf92e90 upgrade nextjs to v11 (#19995) 2021-06-17 18:55:48 +00:00
Grace Park
1b3813d439 Merge branch 'main' into fix-zh-links 2021-06-17 11:48:57 -07:00
James M. Greene
c0441afb3d Update PR template to not mention deploy-to-heroku (#19994)
Follow-up to https://github.com/github/docs-internal/pull/19865
2021-06-17 18:46:30 +00:00
Grace Park
2962b77047 Merge pull request #7183 from github/localized-mini-tocs-bugfix
Fix links in localized mini TOCs when headings contain markup
2021-06-17 11:39:52 -07:00
Grace Park
f25ecee246 Merge branch 'main' into localized-mini-tocs-bugfix 2021-06-17 11:29:15 -07:00
Octomerger Bot
72cc6ccba5 Merge pull request #7478 from github/repo-sync
repo sync
2021-06-18 04:27:21 +10:00
Grace Park
91bf056909 Merge branch 'main' into localized-mini-tocs-bugfix 2021-06-17 11:25:53 -07:00
Grace Park
86306460f5 Merge branch 'main' into fix-zh-links 2021-06-17 11:25:30 -07:00
Grace Park
14bc81d31d Merge branch 'main' into redirects-fix 2021-06-17 11:22:41 -07:00
Octomerger Bot
ad01e846c6 Merge branch 'main' into repo-sync 2021-06-18 04:19:37 +10:00
Grace Park
11d0a47f9c updating test to include redirect_from on different pages 2021-06-17 11:17:36 -07:00
James M. Greene
50fbcc62d3 Deploy/undeploy PRs to/from staging via an Actions workflow (#19865)
* 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 =(

* Refactor to extract more properties from the PR object

* Add a workflow to deploy PRs to Staging

* Fix workflow description

* Add skeleton workflow and module for undeploying

* Remove commented out code

* Update undeployment module

* Add '--destroy' flag to 'script/deploy' options

* Add timeout and concurrency key for undeployment

* Add timeout and concurrency key for deployment

* Remove dangling unneeded function declaration

* Add ant-man preview for inactive deployment state setting

* Fix reference to pull request number

* Fix reference to pull request number

* Refactor to extract more properties from the PR object

* Fix reference to pull request number

* Remove workflow

* Add workflow to undeploy closed PRs from staging

* Add repository filters to jobs

* Update to using actions/github-script@4.0.2

* Pass more environment variables that affect deployments

* Add explicit .js extensions to local require in Actions workflow

* Check out the code and install deps first, of course

* Try local requires without the explicit .js extension

* Use our usual version of Octokit instead of the provided 'github' instance to avoid versioning discrepancies

* Explicitly pass in GITHUB_TOKEN to github-script

* Point to the workflow run page as a default log_url

* Exclude staging deployment workflows from the workflow linter until we can get support for the 'concurrency' key (https://github.com/cschleiden/actions-linter/issues/79)

* Remove 'gha-' prefix
2021-06-17 18:02:02 +00:00
Octomerger Bot
d58547d53c Merge pull request #19989 from github/repo-sync
repo sync
2021-06-18 03:34:11 +10:00
Octomerger Bot
72b6f5c7ad Merge pull request #7477 from github/repo-sync
repo sync
2021-06-18 03:31:42 +10:00
Octomerger Bot
ed69e9ed23 Merge branch 'main' into repo-sync 2021-06-18 03:26:15 +10:00
Octomerger Bot
5b111dff3a Merge branch 'main' into repo-sync 2021-06-18 03:23:47 +10:00
Mike Surowiec
5396f5f9e4 React: All landing pages (#19943)
* default all remaining landing pages to react, update tests
2021-06-17 10:04:53 -07:00
Octomerger Bot
87f6bc327e Merge pull request #19988 from github/repo-sync
repo sync
2021-06-18 02:13:53 +10:00
Octomerger Bot
fee289f68a Merge pull request #7476 from github/repo-sync
repo sync
2021-06-18 02:12:43 +10:00
Kevin Heis
c3e8c3fdd9 Merge branch 'main' into update-old-script 2021-06-17 09:08:47 -07:00
Octomerger Bot
d7eb802622 Merge branch 'main' into repo-sync 2021-06-18 02:07:19 +10:00
Octomerger Bot
56027f0db7 Merge branch 'main' into repo-sync 2021-06-18 02:04:40 +10:00
Grey Baker
21a8778ef7 Add Azure Active Directory Application Secret to list of supported secrets (#19965) 2021-06-17 15:57:28 +00:00
Grace Park
184543bf40 adding one more redirect_from article 2021-06-17 08:53:33 -07:00
Grace Park
43cefe6de8 adding back redirect_from 2021-06-17 08:44:39 -07:00
Grace Park
02f360a71b remove mistakenly added directory 2021-06-17 08:28:23 -07:00
Octomerger Bot
355b0cdd64 Merge pull request #7471 from github/repo-sync
repo sync
2021-06-17 23:33:50 +10:00
Sarah Schneider
c4076da967 test for release notes content, not just response 2021-06-17 09:33:45 -04:00
Octomerger Bot
925bf221d5 Merge pull request #19984 from github/repo-sync
repo sync
2021-06-17 23:29:43 +10:00