1
0
mirror of synced 2026-01-04 09:06:46 -05:00
Commit Graph

389 Commits

Author SHA1 Message Date
Chiedo John
f1a7f06c6c Delete post-status-updates-to-slack.yml 2021-06-30 09:55:51 -04:00
Peter Cihon
55bb078990 Create reminder for title changes to Site-Policy PRs prior to merging (#19968)
* Create site-policy-reminder.yml

* Update site-policy-reminder.yml

* Update site-policy-reminder.yml

* Fix prettier linting issues

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-06-28 23:24:25 +00:00
James M. Greene
bc04d56094 Use the DOCS_BOT access token for update-enterprise-dates script (#20174)
* Use the DOCS_BOT access token for update-enterprise-dates script

* Add workflow_dispatch so we can test this darn thing
2021-06-28 18:15:23 +00:00
James M. Greene
1a0e8f4a4f Add missing GITHUB_TOKEN (with Docubot PAT) to workflow step (#20156) 2021-06-25 19:26:21 +00:00
James M. Greene
abbb0ef32a Cannot use repo files nor dependencies without actually having them first =) (#20135) 2021-06-24 17:12:47 +00:00
Chiedo John
06e90086f1 Update confirm-internal-staff-work-in-docs.yml (#20103) 2021-06-24 13:32:43 +00:00
chiedo
2c1d24b0ba Revert "Update confirm-internal-staff-work-in-docs.yml (#20095)"
This reverts commit 1ccb74d632.
2021-06-23 11:28:28 -04:00
Chiedo John
1ccb74d632 Update confirm-internal-staff-work-in-docs.yml (#20095) 2021-06-23 11:01:44 -04:00
James M. Greene
ad9a6268e3 Lock repo-sync PR conversations in the open source repo (#20062) 2021-06-22 19:51:10 +00:00
Janice
33e3bc8023 Merge branch 'main' into patch-3 2021-06-22 10:54:50 -07:00
James M. Greene
34589f1fbf Improve wording of issue transfer message for less confusion (#20060)
* Improve wording of issue transfer message for less confusion

* Fix context reference

* Fix repo links
2021-06-22 10:21:48 -05:00
Janice
90e9e88840 Merge branch 'main' into patch-3 2021-06-18 14:53:29 -07: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
James M. Greene
3eacb9800e Cancel in-flight Staging deployments when a new commit is pushed (#19997) 2021-06-17 19:04:56 +00: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
ajs256
c9d682b366 Fix typo in action step name 2021-06-16 11:44:20 -07:00
Kevin Heis
df8cfadf18 Remove ruby action (#19961)
https://github.com/github/docs-internal/pull/19910
2021-06-16 16:45:21 +00:00
mc
26ce5e2a2c [June 16, 2021] GitHub Desktop 2.9 updates (#19781) 2021-06-16 15:41:43 +00:00
James M. Greene
7662b43a07 Update casing of 'fromJSON' to 'fromJson' in our workflow files (#19933) 2021-06-15 21:37:46 +00:00
James M. Greene
f3de3ee618 Update actions/github-script usage to v4.0.2 (#19897) 2021-06-15 16:09:15 +00:00
Matt Pollard
9ecccfdf33 Bump peter-evans/create-issue-from-file to support repository input (#19922) 2021-06-15 15:57:12 +00: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
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
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
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
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
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
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