Граф коммитов

434 Коммитов

Автор SHA1 Сообщение Дата
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
Matt Pollard a85c946bce
Specify repository for issues from Actions workflow to check English links (#19832) 2021-06-11 10:18:56 +02:00
Rachael Sewell b20cefa910
Fix a repo-sync failure (#19792) 2021-06-08 21:53:39 +00:00
Chiedo John a7780369fe
Update move-new-issues-to-correct-docs-repo.yml (#19767) 2021-06-07 16:10:09 -04:00
Chiedo John 0cc1483571
Update move-existing-issues-to-the-correct-repo.yml (#19766) 2021-06-07 15:58:47 -04:00
Chiedo John 3487088bc9
Update workflows to support all future issues being in Docs Engineering and Docs Content (#19689)
Add automation to support new repo recommendations.

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-07 19:41:48 +00:00
Chiedo John ae22ad4ded
Update update-status-labels-on-tracking-issues.yml (#19677)
* Update update-status-labels-on-tracking-issues.yml

* Update update-status-labels-on-tracking-issues.yml
2021-06-02 16:31:22 -04:00
Laura Coursen 05005c49c4
Remove docs ping from confirm-internal-staff-work-in-docs.yml (#19627) 2021-06-01 20:18:16 +00:00
Mike Surowiec 37f73f0bb3
Heroku dev deps (#19431)
* fix: req.csrfToken doesn't always exist (e.g. 500 page)

* feat: update dockerfile and add nextjs to build

* fix: run linter

* move @babel deps -> dev deps

* move webpack looking things from deps -> dev deps

* move pa11y-ci to optional dep

* explicitly include optional deps for pa11y

* allow heroku dev deps to be installed

* fix: update postcss module

* fix: update dockerfile build

* tmp: disable renderReact

* see if another deploy is slower/faster

* move a few more packages to devDeps

* upgrade to package-lock v2

* use dayjs instead of date-fns

* move cross-env to devDeps

* remove unused 'del' package

* commit husky precommit hooks

* add hrtime to clone-for-build.js

* Revert "add hrtime to clone-for-build.js"

This reverts commit 70ee647bacce833f4ed2f621f62c63c1d85e5413.

* update babel/eslint

* fix: remove unused plugin

* try a .slugignore

* fix: heroku-postbuild to use npm run build

* fix: i cannot spell dereferenced

* add .next/cache to heroku cacheDirectories

* test cached build

* remove aws-sdk, see what breaks

* move jest-puppeteer to optional deps

* fix: update browser-test.yml to use newer node version

* move jimp to optional dependencies

* move puppeteer to optional dependencies

* fix: ci optional include

* fix: bad copy pasta

* remove previous react experiment

* update tests/README.md with note about optional deps

* bump node test version back to 14

* convert package-lock back to v1

* fix: use node 15.x to leverage npm optional deps

* fix: optional dep install

* test: see what happens with heroku/nodejs-typescript buildpack

* back to heroku/nodejs buildpack

* move jest to optional

* revert jest move

* remove .slugignore

* cleanup dockerfile, move xlsx-population to optional, add comment about optional deps

* Update Dockerfile

Co-authored-by: James M. Greene <JamesMGreene@github.com>

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-05-24 15:40:50 -07:00
Peter Cihon 865b23f0e1
Update site-policy-sync.yml
adding filter to prevent (unmerged) closed PRs from pushing to the public repo
2021-05-24 15:31:43 -07:00
Melanie Yarbrough f92fe615a4
Update label name 2021-05-24 17:16:13 -04:00
chiedo 066847cbf3 No longer needed
We now track crowdin migration todos in FR batches
2021-05-24 14:57:02 -04:00
Mike Surowiec c0e604c9ba fix: remove unused from allowed-actions 2021-05-20 14:16:16 -07:00
Mike Surowiec 488dd4d202 run browser-test.yml like pa11y.yml 2021-05-20 14:09:14 -07:00
Mike Surowiec 7d1090fcee fix: run lint 2021-05-20 13:53:57 -07:00
Mike Surowiec c4166202a1 feat: upgrade to node v16, package-lock.json v2, remove aws-sdk 2021-05-20 13:32:19 -07:00
Mike Surowiec d5367d076c fix: update CODEOWNERS for ts, tsx 2021-05-19 08:43:22 -07:00
mc 47e34258d4
Fix tiny typo 2021-05-18 12:17:57 +01:00
Chiedo John da31de2a82
Create update-status-labels-on-tracking-issues.yml (#19373)
* Create update-status-labels-on-tracking-issues.yml

* Lint

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-05-17 14:50:57 -04:00
Rachael Sewell ad20a5e23c
crowdin frontmatter cleanup workflow (#19329) 2021-05-14 00:10:28 +00:00
Emily Gould d37a331322
Fix rendering in ready for review request (#19312) 2021-05-13 11:06:09 -05:00
Leona B. Campbell 82864d0bbd
Update add-review-template.yml (#19311)
Pointing to the template

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-05-13 15:53:48 +00:00
Sarah Edwards 6a1ec6db99
Add script and workflow to add docs-reviewer reqests to the FR board (#19226) 2021-05-10 23:31:23 +00:00
Kevin Heis 14e24a806e
Update PULL_REQUEST_TEMPLATE.md (#19180)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-05-10 22:27:19 +00:00
Emily Gould 0a088510cc
Update self-review checklist and potentially add to PR template (#19084)
* Update contributing

* Add line to PR template

* Apply suggestions from code review

Co-authored-by: Dominik Bamberger <72066+b4mboo@users.noreply.github.com>

* Update PR template

Co-authored-by: Dominik Bamberger <72066+b4mboo@users.noreply.github.com>
2021-05-10 18:48:02 +00:00
Sarah Edwards 91d4f62135
Add template and workflow to add review template to PRs (#19185)
* add review template and workflow

* use sha instead of version for action

* exclude template from check for private repo links

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-05-10 18:41:09 +00:00
Chiedo John 2844dad5f2
Update and rename quick-status.yml to batch-status.yml (#19237)
* Update and rename quick-status.yml to batch-status.yml

Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-05-10 12:55:24 -04:00
Chiedo John 4ef84de175
Update send-issues-to-how-how-we-work-boards.yml (#19194) 2021-05-07 09:34:48 -04:00
Mike Surowiec 1584c908db
Merge branch 'main' into remove-check-dep 2021-05-06 13:54:04 -07:00
Kevin Heis cc0d0ce4b4
Increase actions tests memory (#19179) 2021-05-06 11:35:49 -07:00
Mike Surowiec e10c29b1fb feat: use eslint for dependency checks 2021-05-06 08:31:04 -07:00
Chiedo John 2750073179
Add an option to opt issues and PRs out of HWW boards (#19135)
* Update send-issues-to-how-how-we-work-boards.yml

* Update send-prs-to-how-how-we-work-boards.yml
2021-05-04 17:34:47 +00:00
Rachael Sewell efb8a00351
Use token with github/github permissions (#19102) 2021-05-03 17:19:06 +00:00
Rachael Sewell 642c8e37f7
Continued butchering of adding this workflow (#19089) 2021-04-30 11:53:55 -07:00
Rachael Sewell d19636287e
🤦‍♀️ copy-paste bug fix (#19087) 2021-04-30 17:58:46 +00:00
Rachael Sewell cb728b0273
checkout repo before assuming it is there (#19086) 2021-04-30 10:42:07 -07:00
Rachael Sewell bbd21bc801
add workflow to run script/update-enterprise-dates.js weekly (#19075) 2021-04-30 09:46:37 -07:00
Chiedo John 639dfd6cc5
OS Confirmation label (#19062)
Co-authored-by: chiedo <chiedo@users.noreply.github.com>
2021-04-29 18:54:13 +00:00
Kevin Heis 7f9f8ae0c4
Update action crons to avoid top of hour runs (#19035) 2021-04-29 17:38:54 +00:00
Chiedo John ff2b745c90
Update HWW verbiage from feature to batch (#19052)
* Update send-issues-to-how-how-we-work-boards.yml

* Update send-prs-to-how-how-we-work-boards.yml
2021-04-29 09:28:42 -04:00
James M. Greene d43b008e62
Remove stale staging apps (#19034)
* Add a script to remove stale staging apps
* Add a workflow to remove stale staging apps on a regular basis
2021-04-28 21:23:28 +00:00
Sarah Schneider 1d79e16d76 update test workflows 2021-04-28 14:40:50 -04:00
Chiedo John 3be35286b3
Update PULL_REQUEST_TEMPLATE.md (#18708)
* Update PULL_REQUEST_TEMPLATE.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-04-22 15:20:29 +00:00
Sarah Edwards c8dd174c25
Add workflow to copy REST description fix requests to docs-content (#18866) 2021-04-21 17:13:24 +00:00
Sarah Edwards 2f9e3dc8c2
add workflow to transfer REST API schema fix requests from os docs repo to os OpenAPI repo (#18868) 2021-04-21 17:00:21 +00:00
Sarah Edwards 35a54fdaad
fix incorrect reference to issues (#18870) 2021-04-21 16:29:56 +00:00
Lee Dohm 697f21f762
Use an array for the event types for future proofing 2021-04-16 12:51:45 -07:00
Lee Dohm 4bb685758f
🎨 Wrap the final line 2021-04-16 12:49:59 -07:00
Peter Cihon 75160c1abc
Merge branch 'main' into site-policy-sync-update 2021-04-16 10:29:25 -07:00
James M. Greene 16cdd98ea5
Automatically close spammy repo-sync PRs (#18719)
* Update to latest find-pull-request-action

* Remove repetitive part of comments in allowed-actions.js

* Specify that we are seeking open PRs

* Use a PAT with site_admin scope granted to include spammy PRs
2021-04-13 18:43:22 +00:00