1
0
mirror of synced 2026-01-23 12:02:29 -05:00
Commit Graph

9462 Commits

Author SHA1 Message Date
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
6ce17ce852 Merge branch 'main' into repo-sync 2021-06-18 05:47:14 +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
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
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
Octomerger Bot
ad01e846c6 Merge branch 'main' into repo-sync 2021-06-18 04:19:37 +10: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
Octomerger Bot
355b0cdd64 Merge pull request #7471 from github/repo-sync
repo sync
2021-06-17 23:33:50 +10:00
Octomerger Bot
925bf221d5 Merge pull request #19984 from github/repo-sync
repo sync
2021-06-17 23:29:43 +10:00
Octomerger Bot
41c87c149f Merge branch 'main' into repo-sync 2021-06-17 23:24:55 +10:00
Octomerger Bot
058d39ba17 Merge branch 'main' into repo-sync 2021-06-17 23:22:52 +10:00
Matt Pollard
fb928dfa70 Update logic to check for valid version number in release notes middleware (#19981) 2021-06-17 13:13:30 +00:00
Octomerger Bot
d9141daef1 Merge pull request #19983 from github/repo-sync
repo sync
2021-06-17 21:27:45 +10:00
Octomerger Bot
cb40c52880 Merge pull request #7470 from github/repo-sync
repo sync
2021-06-17 21:27:07 +10:00
Octomerger Bot
a29de1eb01 Merge branch 'main' into repo-sync 2021-06-17 21:21:18 +10:00
Octomerger Bot
1761e86fbc Merge branch 'main' into repo-sync 2021-06-17 21:18:16 +10:00
github-openapi-bot
2c520144a3 Update OpenAPI Descriptions (#19977) 2021-06-17 11:08:43 +00:00
Octomerger Bot
d54fe16e91 Merge pull request #7468 from github/repo-sync
repo sync
2021-06-17 19:27:57 +10:00
Octomerger Bot
a5ba2caf96 Merge pull request #19982 from github/repo-sync
repo sync
2021-06-17 19:10:01 +10:00
Octomerger Bot
521d0d325e Merge branch 'main' into repo-sync 2021-06-17 19:02:20 +10:00
Jurre
85d37a2fe3 Dependabot: add note about IP allowlist (#19958)
* Dependabot: add note about IP allowlist

We sometimes get questions from customers using private registries about adding dependabot to their ip-allowlist. We expose the IP addresses that dependabot makes updates from in our API, this explains that

* Apply suggestions from code review

* Apply suggestions from code review

* Update content/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/managing-encrypted-secrets-for-dependabot.md

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
2021-06-17 09:57:51 +01:00
Octomerger Bot
882484b6af Merge pull request #7463 from github/repo-sync
repo sync
2021-06-17 17:02:40 +10:00
Octomerger Bot
73afabc12a Merge pull request #19979 from github/repo-sync
repo sync
2021-06-17 17:00:54 +10:00
Octomerger Bot
85e8bafc1d Merge branch 'main' into repo-sync 2021-06-17 16:54:33 +10:00