Commit Graph

215 Commits

Author SHA1 Message Date
Mrugesh Mohapatra
9e992a32a2 chore: update issue templates (#41892)
* chore: update issue templates

* chore: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-04-22 10:14:35 -05:00
renovate[bot]
824d5f9fdf chore(deps): update actions/github-script action to v4 (#41885)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-22 19:33:08 +05:30
renovate[bot]
2f736f7f8e chore(deps): update dependency cypress to v7 (#41838)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-19 13:05:00 +05:30
Sem Bauke
1f9166922c feat(Cypress): enabling parallelization Cypress (#41782)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-09 06:14:45 +02:00
Nicholas Carrigan (he/him)
d1c800879c fix(tools): multiple workflow fixes (#41763) 2021-04-08 11:30:29 +05:30
Nicholas Carrigan (he/him)
b0c75eae60 feat(tools): use camperbot for commit (#41659) 2021-04-02 17:46:00 +05:30
Oliver Eyton-Williams
275e12ba80 tools: test all languages in CI (#41512)
* tools: test all languages in CI

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-04-01 06:20:43 -07:00
Mrugesh Mohapatra
275b17a414 fix(actions): remove node 12 - diligently this time (#41682) 2021-03-31 10:09:15 +02:00
Oliver Eyton-Williams
1e992546ae fix(i18n): only reject changed challenge md files (#41674)
The existing action is overzealous and catches the meta.json files.
2021-03-30 12:11:14 -05:00
Mrugesh Mohapatra
41577b818c chore: remove approval workflow (#41650) 2021-03-29 16:49:12 +05:30
Nicholas Carrigan (he/him)
26228279d1 fix(tools): new token (#41611)
Use the newer camperbot token.
2021-03-27 10:12:40 +05:30
Mrugesh Mohapatra
0ba8274066 fix(actions): update workflows, add auto-approval (#41591)
* fix(actions): update workflows, add auto-approval

* fix: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

* fix: apply suggestions from code review

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-26 12:52:44 -07:00
Mrugesh Mohapatra
34dca74b50 fix(tools): adjust ownership of files (#41590) 2021-03-26 20:23:35 +05:30
Mrugesh Mohapatra
ca6cb07838 chore(ci): deprecate node 12 (#41585) 2021-03-26 17:07:02 +05:30
Nicholas Carrigan (he/him)
8305cad79a fix: address crowdin issues (#41517) 2021-03-18 16:31:05 +01:00
Mrugesh Mohapatra
917a9d2643 chore: delete housekeeping workflows (#41487)
Latest changes enforced by GitHub prevents using the action in dependabot's PR's context. See: https://github.com/ahmadnassri/action-dependabot-auto-merge/issues/60, https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions

Regardless of the above we also moved to needing atleast two approvals

Removing this workflow for now.
2021-03-15 05:04:54 -06:00
Randell Dawson
50369edd12 feat(tools): Add a PR labeler action to the repo (#41458) 2021-03-13 22:14:19 +05:30
Mrugesh Mohapatra
b0bfc00f21 fix(actions): update workflow matrices & docs
This commit intentionally adds a matrix to keep supporting Node.js 12
while we evaluate it
2021-03-11 12:19:42 +05:30
Nicholas Carrigan (he/him)
c70bac4614 fix(tools): update automated message (#41437)
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-11 02:44:19 +05:30
Randell Dawson
5063b1104e fix(tools): Removed commas from Yaml file (#41426)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-09 22:54:28 +05:30
Randell Dawson
75dc001aea feat(tools): Add Crowdin PR creator action (#41383)
Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
2021-03-09 22:27:40 +05:30
Randell Dawson
5367bd43e1 fix: rename job names for docs project workflows (#41400) 2021-03-07 08:09:42 -08:00
Nicholas Carrigan (he/him)
55dfa28359 fix(tools): implement better error handling (#41379)
* fix(tools): implement better error handling

Modifies the workflow to validate the branch exists and the PR does
not. This was not blocking any issues, but caused the action to
report a failure.

* fix: apply Randy's review suggestions

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-05 13:00:02 -07:00
Nicholas Carrigan (he/him)
1b93a749ba fix(tools): use correct branch name (#41369) 2021-03-04 20:30:38 -08:00
Nicholas Carrigan (he/him)
269209e7c3 fix(tools): only camperbot translates (#41366)
* fix(tools): only camperbot translates

Modifies the no pr to translation workflow to fail on any PR that
was not created by camperbot.

* fix(tools): update message

* Update .github/workflows/no-prs-to-translation.yml

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2021-03-04 20:56:42 -07:00
Nicholas Carrigan (he/him)
4fe3828537 feat(tools): automatic crowdin prs (#41365)
* feat(tools): automatic crowdin prs

Enables automatic PR creation on all download scripts.

* feat: CRON everything

* fix(tools): stagger workflows
2021-03-04 20:54:17 -07:00
Nicholas Carrigan (he/him)
c000c7ab11 fix(tools): use new token thanks Randy (#41362)
* fix(tools): temp disable cron

* fix: new token thanks Randy
2021-03-04 14:46:34 -08:00
Nicholas Carrigan (he/him)
fa6b11f359 fix(tools): set crowdin cron job (#41361)
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
2021-03-05 02:01:40 +05:30
Mrugesh Mohapatra
78e739cb53 fix(actions): include docs in no-translation (#41358) 2021-03-04 08:00:51 -08:00
Mrugesh Mohapatra
de745ad218 fix(CI): update workflows (#41319) 2021-03-01 11:45:21 +03:00
Mrugesh Mohapatra
b5f4754e2a fix: re-revert the API decoupling (#41263)
* fix(api): decouple api from curriculum

This reverts commit 8f0e441644 and
introduces the implementations from #40703.

* fix(gitpod): add curriculum build to GitPod

This reverts commit 706d70f58d and
introduces implementations from #41234.

* docs: update DevOps manual for api change (#41259)

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-02-25 12:02:35 -08:00
Oliver Eyton-Williams
b73022c81b fix: make missing scripts fail linting/testing (#41260)
If a script is not present, we would like an error letting us know.
2021-02-25 20:06:01 +05:30
Mrugesh Mohapatra
8f0e441644 revert(api): decouple api from curriculum
This reverts commit c077ffe4b9
via PR #40703
2021-02-25 03:40:09 +05:30
Randell Dawson
c6d8996f39 fix(tool): Added more files to restrict from direct translations (#41243)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-25 00:58:16 +05:30
Nicholas Carrigan (he/him)
cadfa4f767 docs(i18n): enable portuguese (#41232)
Makes the necessary changes to the workflow and documentation files
to enable the Portuguese translations.
2021-02-23 10:46:09 +05:30
Oliver Eyton-Williams
c077ffe4b9 feat(api): decouple api from curriculum (#40703) 2021-02-22 12:23:59 +05:30
Oliver Eyton-Williams
fd7b63c8d7 fix: no translation action (#41212)
* fix: no translation action body quotes

* refactor: more canonical no translation script
2021-02-21 07:24:38 -08:00
Nicholas Carrigan (he/him)
037cd95d3d fix: revert suggestions to workflow (#41199)
* fix: revert suggestions to workflow

* fix: one more await
2021-02-20 16:33:35 -07:00
Nicholas Carrigan (he/him)
950841c25e fix(tools): no i18n workflow (#41157)
* fix(tools): adjust no-translate workflow

Modifies the no-prs-to-translation workflow to target our new `main`
branch, and verify that the PR comes from a forked repository.

Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
2021-02-18 17:04:03 +01:00
Mrugesh Mohapatra
51ec477329 chore: pin mongodb for warnings - again (#41163) 2021-02-18 16:01:22 +05:30
Randell Dawson
29586e7082 fix: create separate steps for chinese and spanish downloads (#41143) 2021-02-16 18:11:42 -08:00
Randell Dawson
99d0763550 fix: only download chinese and spanish docs (#41114) 2021-02-14 11:48:20 -08:00
Randell Dawson
e8986f6cfc fix: skip untranslated files for curriculum download (#41059) 2021-02-11 12:24:18 -08:00
Randell Dawson
dc810022d1 fix: do not skip untranslated files in download (#41058) 2021-02-11 19:51:03 +01:00
Nicholas Carrigan (he/him)
19d10ef925 fix(tools): fix my fix (#41057)
Try again :)
2021-02-11 22:50:39 +05:30
Nicholas Carrigan (he/him)
26564419fd fix(tools): allow partial translation (#41055)
* fix(tools): allow partial translation

Modifies the workflow to allow for partial download of translations
to ensure we get all keys in the translation object even if they
still have english values.

NOTE: Sets workflow to dry run for testing purposes. Will need to
revert that setting.

* revert(tools): no dry run
2021-02-11 09:55:34 -07:00
Mrugesh Mohapatra
149cf95310 chore(crowdin): re-arrange crowdin config files (#41046) 2021-02-10 11:06:13 -07:00
Randell Dawson
c3a0793be2 fix(tools, crowdin): do not skip downloading untranslated files (#40922) 2021-02-05 13:39:09 +05:30
Mrugesh Mohapatra
c4021bc57f chore: please use short branch names (#40920) 2021-02-04 23:41:41 -07:00
Nicholas Carrigan (he/him)
2a23c2d989 fix(docs, tools): switch to main in PR template (#40882)
Changes `master` to `main` in the template to reflect our branch rename.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
2021-02-03 00:44:04 +05:30