Commit graph

767 commits

Author SHA1 Message Date
Michael Telatynski
69426387dc
Put web app team issues in the board (#22452) 2022-06-06 10:03:24 +01:00
Germain
76c9535255
Remove Z-IA issues to delight board automation (#22414) 2022-06-01 09:22:43 +00:00
Michael Telatynski
4a91c172b2
Github Actions pull_request synchronize runs on PR open anyway (#22396)
* Github Actions pull_request synchronize runs on PR open anyway

* Update pull_request.yaml
2022-05-30 15:40:33 +01:00
Michael Telatynski
e87ef3b6ab
Revert "Github Actions pull_request synchronize runs on PR open anyway" (#8720)
* Revert "Github Actions pull_request synchronize runs on PR open anyway (#8718)"

This reverts commit eaace4b4d1.

* Update pull_request.yaml
2022-05-30 15:40:26 +01:00
Michael Telatynski
eaace4b4d1
Github Actions pull_request synchronize runs on PR open anyway (#8718) 2022-05-30 14:33:36 +01:00
Michael Telatynski
7efd7b67ea
Fix gha concurrency conditions (#8702) 2022-05-26 10:21:44 +01:00
Michael Telatynski
89bffd132a
Fix gha concurrency conditions (#22360) 2022-05-26 10:21:43 +01:00
Michael Telatynski
f3f14afbbf
Move spaces tests from Puppeteer to Cypress (#8645)
* Move spaces tests from Puppeteer to Cypress

* Add missing fixture

* Tweak synapsedocker to not double error on a docker failure

* Fix space hierarchy loading race condition

Fixes https://github.com/matrix-org/element-web-rageshakes/issues/10345

* Fix race condition when creating public space with url update code

* Try Electron once more due to perms issues around clipboard

* Try set browser permissions properly

* Try to enable clipboard another way

* Try electron again

* Try electron again again

* Switch to built-in cypress feature for file uploads

* Mock clipboard instead

* TMPDIR ftw?

* uid:gid pls

* Clipboard tests can now run on any browser due to mocking

* Test Enter as well as button for space creation

* Make the test actually work

* Update cypress/support/util.ts

Co-authored-by: Eric Eastwood <erice@element.io>

Co-authored-by: Eric Eastwood <erice@element.io>
2022-05-26 10:19:00 +01:00
Michael Telatynski
e20ae18378
Revert "Split Cypress out into its own workflow (#8677)" (#8685)
This reverts commit 1722eb1bd3.
2022-05-24 23:23:49 +01:00
Michael Telatynski
1722eb1bd3
Split Cypress out into its own workflow (#8677)
* Split Cypress out into its own workflow

* Improve PR Details job to use github-script and output labels

* Fix wrongly using github.ref in workflow_run actions which always refer to develop

* Update pr-details to be far more generic

* Tweak how we fill command-prefix
2022-05-24 19:16:33 +01:00
Michael Telatynski
7c949f9f5a
Fix wrongly using github.ref in workflow_run actions which always refer to develop (#22321) 2022-05-24 12:36:15 +01:00
Michael Telatynski
fab52795e3
Consolidate i18n check into a reusable workflow (#22248)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow
2022-05-20 01:17:34 +01:00
Michael Telatynski
a0cdc93642
Rename i18n_check.yaml to i18n_check.yml 2022-05-20 00:37:58 +01:00
Michael Telatynski
896c8c9035
Consolidate i18n check into a reusable workflow (#8634)
* Fix i18n check bypass for RiotTranslateBot

* Consolidate i18n check into a reusable workflow

* Update .github/workflows/i18n_check.yaml

Co-authored-by: Travis Ralston <travisr@matrix.org>

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-05-20 00:36:58 +01:00
Michael Telatynski
b2d057b7c3
Update triage-priority-bugs.yml (#22277) 2022-05-19 14:54:38 +01:00
Germain
ff7398b21f
Remove spaces to delight board automation (#22260) 2022-05-18 11:59:32 +01:00
Michael Telatynski
20cc77401c
Revert "Sonarcloud check out upstream develop not fork develop (#22239)" (#22249)
This reverts commit 56f3afc7f8.
2022-05-17 18:27:52 +01:00
Michael Telatynski
5f3a9378af
Revert "Sonarcloud check out upstream develop not fork develop (#8622)" (#8635)
This reverts commit 6ffd12a027.
2022-05-17 18:27:27 +01:00
Michael Telatynski
56f3afc7f8
Sonarcloud check out upstream develop not fork develop (#22239) 2022-05-17 18:09:32 +01:00
Michael Telatynski
6ffd12a027
Sonarcloud check out upstream develop not fork develop (#8622) 2022-05-17 18:09:28 +01:00
Michael Telatynski
b3ef2c179a
Update weblateToCounterpart to be more resilient (#22247)
* Update i18n check CI to ignore RiotTranslateBot

* Update `weblateToCounterpart` to be more resilient
2022-05-17 17:44:30 +01:00
Michael Telatynski
d9b7e0721c
Add visual tests using Percy in Cypress (#8610)
* Add basic Percy tests

* Run Percy in CI

* Fix snapshot timing

* Fix bad selector

* Hide another bit of dynamic text

* Add docs
2022-05-17 15:16:14 +00:00
J. Ryan Stinnett
c122c5cd3b
Add basic performance testing via Cypress (#8586) 2022-05-17 15:38:45 +01:00
Michael Telatynski
4162c21596
Update netlify.yaml (#8615) 2022-05-16 21:20:00 +00:00
Michael Telatynski
6c87e294c4
Run CI in Github Actions (#22054)
* Tidy workflows

* Update get-version-from-git.sh

* Run tests in Actions

* Upload coverage to SonarCloud

* Run linters in Actions

* Run builds in Actions, consolidating with sentry uploader

* Update sonar-project.properties

* chmod +x

* Iterate

* Use new env vars

* Delete yarn-sub.js

* Use re-usable sonarqube action

* Add README badges

* Match reality
2022-05-16 16:23:44 +02:00
Michael Telatynski
e6ec01fe86
Use reusable SonarCloud workflow (#8589)
* Use reusable SonarCloud workflow

* Simplify Netlify run too

* We don't need dbl quotes

* Remove stale if check
2022-05-13 22:25:50 +00:00
Travis Ralston
f080b1fb27
Update unlabel workflow to check for card archive-ness (#22194)
* Update unlabel workflow to check for card archive-ness

Fixes CI error notifications when removing labels from issues which are archived on the Issue Triage board.

Doesn't fix the adding of labels, but that's more complicated and a work in progress as of writing.

* Update triage-unlabelled.yml
2022-05-14 00:21:41 +02:00
Michael Telatynski
b331099525
Make pull_request.yaml between the layers consistent and fix enforce labels (#8580) 2022-05-13 18:51:25 +01:00
Michael Telatynski
f2c8e89053
Make pull_request.yaml between the layers consistent and fix enforce labels (#22172) 2022-05-13 18:51:22 +01:00
Michael Telatynski
b98e605574
Create dependency upgrade action (#22043) 2022-05-04 14:28:23 +01:00
Michael Telatynski
de6fc4ab52
Update upgrade_dependencies.yml (#8487) 2022-05-03 21:47:41 +00:00
Michael Telatynski
99cb83a9df
Create manual action for upgrading dependencies after rc cut (#8484) 2022-05-03 21:54:32 +01:00
Michael Telatynski
2e9c2dd42b
Prune i18n files (#8479)
* Prune i18n files

* Tweak i18n ci rule to ignore RiotTranslateBot
2022-05-03 16:09:11 +01:00
Michael Telatynski
4d122db7cf
Prevent Netlify builds from different PRs stepping on each other (#8477) 2022-05-03 15:43:40 +01:00
Michael Telatynski
2141b122f9
Tweak sonarqube run (#8475) 2022-05-03 14:46:38 +01:00
Michael Telatynski
7f78b1c968
Iterate CI checks (#8472) 2022-05-03 10:39:03 +01:00
Michael Telatynski
7477a2df7d
Switch coverage over to SonarQube (#8463) 2022-05-02 21:34:31 +01:00
Robin
850a250cea
Fix label triage automation (#21999) 2022-04-30 15:32:55 +01:00
Michael Telatynski
92f440d9de
Consolidate deployment management into more maintained action (#8430) 2022-04-29 11:07:42 +01:00
Michael Telatynski
6cb29f2b8d
Try SonarCloud (#8441) 2022-04-29 09:38:24 +00:00
Michael Telatynski
1bceeb244c
Record cypress runs to dashboard (#8436) 2022-04-28 12:47:13 +01:00
Kat Gerasimova
2c7680bd87
Add github automation for new labels (#21966)
Add 'Team: Delight' and 'Z-NewUserJourney' to the Delight board
2022-04-28 09:53:20 +01:00
Michael Telatynski
6d2230064e
Fix broken netlify ci (#8427) 2022-04-27 12:39:14 +01:00
Michael Telatynski
8f7e265125
Fix Netlify builds 2022-04-27 11:20:29 +01:00
Michael Telatynski
b6bc2943d3
Fix it once and for all 2022-04-27 11:11:48 +01:00
Michael Telatynski
4bcdb5e99b
Fix broken netlify ci (#8424) 2022-04-27 10:45:23 +01:00
Michael Telatynski
9ad93c2f5b
Attempt to use deployments to signal Netlify builds instead (#8421) 2022-04-27 10:24:38 +01:00
Michael Telatynski
6f5900557b
Remove notify environment requirement (#8383) 2022-04-21 15:17:43 +01:00
Michael Telatynski
146bcdd6a6
Move more stuff from BK to GHA (#8372) 2022-04-21 11:55:32 +00:00
David Baker
ffeab40af6
Fix netlify previews (#8330)
Update the name of the workflow in the workflow_run trigger as
it was changed when adding cypress tests.

This will upload the preview build after running the cypress tests:
unsure if this is what we want or not. The preview build will be
slower to appear, but it does sort of make sense to only get a
preview buuild if the tests pass. If not, we might be able to do
this by doing a repository dispatch after the preview build.
2022-04-14 18:19:26 +01:00
David Baker
123a659cf8
Fix synapse logs directory in Cypress tests (#8326)
I changed it in one place but not the other
2022-04-14 17:33:10 +01:00
David Baker
b8013fc52a
Add a Cypress Test 🌲 (#8295)
* A first, maybe working cypress test

Plus cypress plugins to manage synapses in docker containers

* Fix yaml

* This file is important

* try & find where it's put the artifact

* Download artifact to a directory

* pics or it didn't happen

* Add conditional, otherwise no artifacts on failure...

* Try increasing timeout

also actually give the test a name

* Try in chrome

* Get docker logs to see why it's failing

also document the chrome setting

* Try changing mode on homeserver.yaml

* debug

* More debugging

* more file permissions debugging

* ARGH

* more debug

* sigh

* Eugh, that's not how arguments work

* Add the option to really allow open registration

and remove debug logging / comment fixes

* failure to yaml

* Upload docker logs as artifacts

and temporarily remove contional to test

* Put the conditional back

* Upgrade types in end to end tests

to be compatible with fs-extra types

* Try reducing timeout a bit

also make password more... sensible

* Hex is not octal

* Remove file mode

Seems to be unnecessary since the signing key is perfectly fine

* Give the log files extensions

* Rename workflow file now it also does tests

* Add cypress scripts

* copyright headers

* Use ? operator

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Use develop synapse image

* Tidy up any remaining synapses after each spec run

Also:
 * Move the synapseStart / synapseStop functions out to the top level
   so they can be reused
 * Add a tsconfig file
 * Give the containers names

* Don't upload video on test pass

We don't upload it anyway so tell cypress not to so it can not
bother encoding them

* Enable linting on cypress files

and fix existing lint errors

* Type check cypress files

and make it pass the type checks, specifically:
 * Upgrade sinon fake timers to a version that has the right types
 * Set module resolution
 * Type check cypress files separately

* Rename workflow file again

Probably better to just call it an element web build

* Don't plus + characters in container name

* Fix yaml

* Stream logs to file

* Add note to end to end tester to sya what's been ported

* Put docker rm in finally block

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-04-14 10:41:58 +01:00
Robin
a4d3da78d7
Fix coverage diffs for PRs that aren't up to date, take 3 (#8301) 2022-04-12 20:22:34 -04:00
Kat Gerasimova
cec31d0e71
Don't label threads issues with Z-Labs (#21707)
Threads is out of labs now, so shouldn't be labelled as Z-Labs in our issue tracker any more
2022-04-07 14:59:25 +01:00
Travis Ralston
4057833036 Merge branch 'develop' into travis/remove-skinning 2022-04-05 10:50:37 -06:00
Kat Gerasimova
9bfd60e915
Remove triage automation (#8192)
GitHub don't support cross-organisation automation at this time, so removing the file for now.
2022-04-03 22:01:48 +01:00
Travis Ralston
97efdf7094 Merge branch 'develop' into travis/remove-skinning 2022-03-31 19:25:43 -06:00
Robin
58cca0a77a
Update name of video rooms label (#21629) 2022-03-31 18:01:49 -04:00
Kat Gerasimova
8ce9488bb5
Add automation for "A-New-Search-Experience" label (#21622)
Add A-New-Search-Experience label for automation to Delight board and to add Z-Labs label.

This label is currently down as A-Spotlight-Search, but I will rename it.
2022-03-31 16:55:10 +01:00
Robin
be8665af4d
Fix coverage diffs for PRs that aren't up to date, take 2 (#8188) 2022-03-30 08:02:34 -04:00
Travis Ralston
a6564d9ab9 Step 14: Remove reskindex 2022-03-28 15:30:30 -06:00
Robin
02a5789dd3
Fix typo in labs label workflow (#21582) 2022-03-28 16:44:25 +01:00
Robin
0a16989d26
Fix unexpected coverage diffs for PRs that aren't up to date (#8161) 2022-03-28 08:17:04 -04:00
Robin
e638abf7c2
Add voice rooms to labs labels (#21512) 2022-03-22 19:29:11 -04:00
Andy Balaam
e725f14651
Further attempt to prevent codecov posting failure messages (#8050) 2022-03-14 11:01:02 +00:00
David Baker
1eb67047c9
Add some doc to the github actions / CI scripts (#8034)
* Add some doc to the githuib actions / CI scripts

Type: task

* alalytics-events is more name matching
2022-03-11 13:00:56 +00:00
Andy Balaam
20d5798594
Include PR_NUMBER so codecov build can do branch matching (#8033) 2022-03-11 10:26:42 +00:00
Andy Balaam
c89c2253fd
Add test coverage reporting (#8009) 2022-03-10 13:17:01 +00:00
daniellekirkwood
3f2ad33b2b
Add FTUE and WTF label automations (#21179) 2022-03-04 09:22:30 +00:00
Kat Gerasimova
9fc1f75fe5
Update team org in triage automation (#7835) 2022-02-17 17:01:01 +00:00
Kat Gerasimova
201e552b0c
Triage PRs that need design or product (#7805)
Add automation to check if PR is assigned to a team/any member of that team and if it is, add it to the correct board to get it reviewed quicker
2022-02-15 13:17:43 +00:00
David Baker
6e8edbb418
Fix preview builds for forked PRs (#7769)
Use the magic from matrix-doc to get the PR number, as commented.
2022-02-09 15:31:14 +00:00
Robin
ba20134d1f
Update labs issue labels (#20883) 2022-02-03 08:33:11 +00:00
Kat Gerasimova
840867bc02
Update issue and PR automation (#20583)
* Add X-Needs-Product issues to product board
* Add product PRs to product board
* Add UISI issues to crypto team board
* Rename labelled and unlabelled triage files because they don't always
  move issues
2022-01-18 13:12:27 +00:00
David Baker
a2f09480ee
Use PR number directly in netlify github action (#7561)
* Use PR number directly in netlify github action

Looks like we can get the PR number for the workflow run that triggered
the workflow_run event, so there's no need for the massive faff we were
doing here.

* No need to create pr.json anymore
2022-01-18 11:01:25 +00:00
Kat Gerasimova
d3e2af58e9
Fix logic for removing Z-Labs tag with issue automation (#20515) 2022-01-13 14:11:12 +00:00
Timo
ef9335697e
remove Z-Maximised-Widgets label from issue automation. (#20483) 2022-01-11 18:18:28 +01:00
Andy Balaam
da8476e426
Remove extraneous dollar from review-requests action (#20480) 2022-01-11 13:38:19 +00:00
Andy Balaam
f434bb9f20
Supply team name to review-request action (#20477) 2022-01-11 11:38:19 +00:00
Ankur
672ca16428
Added a workflow to remove Z-Labs label. (#20465)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2022-01-11 11:23:14 +00:00
Andy Balaam
c27cdcf849
In review-request action, treat requested_teams as an array (#20474) 2022-01-11 11:16:52 +00:00
Andy Balaam
2d548d1179
Print out requested teams in review-request workflow (#20471) 2022-01-11 10:49:07 +00:00
Ankur
b7f48479f3
Added a workflow to triage Labs issues better. (#20228)
Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
2021-12-16 19:25:13 +00:00
Kat Gerasimova
46bcd13e05
Update trigger for PR workflow (#20159)
pull_request doesn't pass permissions correctly for the action to work.
2021-12-13 15:36:10 +00:00
Kat Gerasimova
9417470e93
Fix graphql warning for wrong types in workflows (#20120) 2021-12-09 15:55:22 -07:00
Kat Gerasimova
5a6e981cb4
Fix indentation in workflow 2021-12-09 21:11:18 +00:00
daniellekirkwood
0a5adedbc1
Add automation to move message bubbles issues to message bubbles board (#20117) 2021-12-09 15:24:20 +00:00
Kat Gerasimova
dc75590916
Update issue automation for the Delight team (#20112)
- Remove automation for v1 board as v2 board is now in use
- Update naming for the workflow because there's only one board now
- Add Z-IA issues to Delight workboard
2021-12-09 11:24:51 +00:00
Alexandre Franke
40b2a90d08
💚 Update PR description editing action (#7309)
Switch to upstream and use a more recent version.
Fixes failure to edit on empty descriptions.

Signed-off-by: Alexandre Franke <alexandre.franke@gmail.com>
2021-12-09 09:12:59 +01:00
Kat Gerasimova
7753fee9e1
Issue workflow improvements (#19976)
- Fix filtering for Design issues
- Split out spaces jobs for new and old boards, so they don't
  depend on each other
- Remove voice message job for the old board
- Rename Priority bugs workflow to be shorter
- Improve naming for jobs so they're easier to read in the GitHub
  Actions page
2021-12-02 16:44:02 +01:00
Andy Balaam
090fc808bb
Move workflow env sections into steps for PR workflow (#19926) 2021-11-29 17:22:53 +00:00
Andy Balaam
10e121a514
Review requests workflow (#19911)
* Review requests workflow

* Move env section up

* Use jq instead of sed to process JSON
2021-11-26 16:23:07 +00:00
Kat Gerasimova
b2e8f212e4
Issue automation workflow updates (#19767)
* Add automation to move Threads issues

Fixes #19732

* Rename triage workflows to be more consistent
2021-11-16 14:04:11 +00:00
J. Ryan Stinnett
98ea2c3302
Build for pull requests targeting any branch (#7121) 2021-11-11 17:08:08 +00:00
Kat Gerasimova
8e279116ae
Update triage workflow to fix conditional (#19682)
Docs say to use curly brackets, internet says that can break
multiline conditionals.

Trying to fix the if statement applying only to the first step in the job and
the second step ignoring the conditional.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-10 16:42:18 +00:00
Kat Gerasimova
28f00498a2
Actions: use new voice message board for issues (#19670)
Voice-Messages are moving to org-level beta board so add automation to
send issues there (will remove old board automation after the move).

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-09 15:10:19 +00:00
Kat Gerasimova
4158a49297
Fix conditional check before moving design issues (#19658)
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-08 14:44:22 +00:00
Kat Gerasimova
2ef1191afa
Move Spaces issues to new Delight board (#19661)
Keep automation for old board too as we haven't moved the team yet

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-08 14:44:05 +00:00
Kat Gerasimova
0317e39ef7
Move P1 issues to crypto team board (#19654)
Move high priority issues which have an E2EE label to the crypto team
org level old style project board.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-08 12:17:20 +00:00
Kat Gerasimova
8c227f61dd
Update design team workflow to use beta board (#19647)
Try sending design issues to the beta board

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-05 15:12:49 -06:00
Kat Gerasimova
0c3efaec9a
Workflow: do a better check on X-Needs-Info (#19641)
Previous check doesn't really work.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-05 16:32:19 +00:00
Kat Gerasimova
addb6183b3
Workflow: move voice message issues to their board (#19626)
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-04 15:45:28 +00:00
Kat Gerasimova
ef87da52f4
Workflow: use our special token instead of github (#19618)
This could fix the obscure "#ERROR# HttpError: Validation Failed" that
we're getting in failed actions.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-04 11:43:12 +00:00
Kat Gerasimova
06e855c601
Update workflow name to be correct (#19614)
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-04 10:44:33 +00:00
Kat Gerasimova
c0a7437c20
Reference commits instead of tags in workflows (#19597)
This is better in case the tag is ever assigned to another commit.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-03 12:42:46 +00:00
Kat Gerasimova
f9cbdb8aa0
Update issue -> board automation (#19589)
Merge issues-to-projects and triage-needs-info into one under a new name
as they have the same trigger.

Add automation to move ex-needs info issues to triaged when labels are
updated.

Fixes #18523

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-02 20:54:00 +00:00
Kat Gerasimova
37840b4121
Don't give E2EE and spaces issues to web app team (#19576)
All incoming issues labelled with A-E2EE* and A-*spaces* labels should go to appropriate teams, and not to P1 in the web app team project.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-11-01 18:18:37 +00:00
James Salter
9793816b5f
Listen to repository dispatch event so other repositories can trigger sourcemap regen (#19568) 2021-11-01 13:24:48 +00:00
James Salter
459b5ccaf9
Add notify-element-web job (#7062)
This triggers a repository_dispatch event in element-web which allows that repo to run new CI actions for EW with the new SDK code
2021-11-01 13:00:51 +00:00
James Salter
c4adac315e
Add missing job name for workflow (#19566) 2021-11-01 10:16:02 +00:00
James Salter
4553531e7e
Fix indentation (#19565) 2021-11-01 10:10:20 +00:00
James Salter
940aaa0d1a
Add workflow to upload sentry sourcemaps (#19480)
On push to develop, run ci_package.sh setting SENTRY_ environment variables, which causes webpack to invoke the sentry plugin to upload sourcemaps
2021-10-26 16:05:55 +01:00
Šimon Brandner
07ed6772be
Pass PR_NUMBER to builds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-18 13:52:56 +02:00
Kat Gerasimova
4f0c3bf4ff
Merge pull request #18896 from kittykat/issue-automation
Issue labelling and process home updates
2021-09-15 10:18:28 +01:00
David Baker
b67883b4f1 Remove unnecessary pushd
type: task
2021-09-09 09:41:11 +01:00
David Baker
8f221a4849 Rename type checking script
'cos it's type chekcing, not linting
2021-09-08 18:37:13 +01:00
David Baker
47fd11050f Switch type check to GitHub Actions
and add (working) type check for release mode js-sdk types
2021-09-08 11:43:46 +01:00
Michael Telatynski
0cb9fef9da apply to more spaces related labels 2021-09-06 10:36:23 +01:00
Michael Telatynski
6874e782f2 Move A-Spaces issues to Delight project board GHA 2021-09-06 09:39:53 +01:00
Ekaterina Gerasimova
4d5607894c Issue labelling: update Occurrence label
Lets use slightly more sensible labels for Occurrence: Frequent,
Occasional and Uncommon.
2021-09-03 17:29:19 +01:00
Ekaterina Gerasimova
f9af8a9f07 Revert "Issue automation: test GitHub's new shiny boards"
Beta boards automation is different from old boards

This reverts commit b873185c68.

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-03 12:53:36 +01:00
Ekaterina Gerasimova
b873185c68 Issue automation: test GitHub's new shiny boards
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-09-03 11:42:06 +01:00
Šimon Brandner
5b65528038
Make GH actions clone from the correct fork and cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-29 17:37:11 +02:00
James Salter
87d5527489 Fix column name as we renamed it 2021-08-25 15:45:56 +01:00
Ekaterina Gerasimova
b04b2baf4e Issue triage: move only defects into priority bugs 2021-08-19 14:33:45 +01:00
Ekaterina Gerasimova
9adcabb860 Issue triage: update automation for new labels 2021-08-19 11:01:07 +01:00
Ekaterina Gerasimova
5f4fa6b17a Issue triage: update automation for design team
1/ O-Frequent/P-High: All issues
2/ O-Intermediate/P-Medium issues which match S-Critical, S-Major or S-Minor
2021-08-19 08:56:14 +01:00
J. Ryan Stinnett
d836ed5291 Fix name of Netlify workflow 2021-08-18 14:19:44 +01:00
Kat Gerasimova
1b9ae1b32f
Issue triage: move priority design tasks
Update to match column name

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-18 09:26:48 +01:00
Kat Gerasimova
6c39127018
Issue triage: move priority issues to design board
Move X-Needs-Design which are critical or major and high prevalence to the design board

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-18 09:10:48 +01:00
Ekaterina Gerasimova
60b61dbf27 Issue triage: move priority bugs onto team board
Automatically move all bugs with the right label combinations onto the Priority bugs column on the Web App Team's board.

Signed-off-by: Ekaterina Gerasimova <kittykat3756@gmail.com>
2021-08-17 23:25:58 +01:00
David Baker
002c7328f3 Merge remote-tracking branch 'origin/develop' into dbkr/edit_pr_desc 2021-08-11 21:39:07 +01:00
David Baker
8016b340b0 Just upload the PR object itself
We don't know what secret info might end up in the context
2021-08-11 21:20:28 +01:00
David Baker
1fe5ace8ed Edit PR Description instead of commenting
We could include the magic comments in the PR template so the various
automated comments were always in the same order, if we wanted.
2021-08-11 21:10:22 +01:00
David Baker
bbdee0d83b publish the right directory 2021-08-11 19:41:37 +01:00
David Baker
cf8ee19e23 Fix Netflify builds from fork PRs
Some absolutely horrenous hacks to upload the context as an artifact
then download it, unzip it and set the PR number as a variable we can
use, because GitHub Actions just doesn't offer any other way of doing
this.

Maybe we'd be better off going back to Netlify...
2021-08-11 19:25:17 +01:00
David Baker
87690f0739 Fix netflify preview build comment 2021-08-10 11:49:25 +01:00
David Baker
c1b49092f8
Merge pull request #6586 from matrix-org/dbkr/pr_comment_in_workflow_run
Do the PR comment a different way
2021-08-10 11:40:57 +01:00
Ekaterina Gerasimova
fd9b14a75e Triage automation: update token
GitHub bug means that GITHUB_TOKEN doesn't work according to
documentation at https://docs.github.com/en/actions/reference/authentication-in-a-workflow#permissions-for-the-github_token because it doesn't have the right permissions for moving stuff to a project board.

The automation throws this error:
Error: Resource not accessible by integration

Use our own generated token for now.

Signed-off-by: Ekaterina Gerasimova <kittykat3756@gmail.com>
2021-08-10 09:48:27 +01:00
Kat Gerasimova
524a144d38
Merge pull request #18462 from kittykat/issue-board
Add Actions for moving tasks on triage workboard
2021-08-09 20:39:45 +01:00
David Baker
6eed09f261
Merge pull request #6574 from matrix-org/dbkr/preview_changelog
Add changelog preview action
2021-08-09 20:21:16 +01:00
David Baker
32ad5dc19c Do the PR comment a different way
Because the built in netlify action's way doesn't work in workflow_run
2021-08-09 20:16:54 +01:00
David Baker
d2e8e13afb No event.number in the workflow_run action 2021-08-09 19:27:13 +01:00
David Baker
dd36dde8c9 rename artifact 2021-08-09 19:16:08 +01:00
David Baker
28eb45b928 Hopefully working Netlify upload
as per comment
2021-08-09 18:35:36 +01:00
David Baker
81b72fe70e disable netlify uplaod while I debug it 2021-08-09 18:03:15 +01:00
Ekaterina Gerasimova
4de76c4c8e Add Actions for moving tasks on triage workboard
The Action token may or may not work, no way to test without trying

Signed-off-by: Ekaterina Gerasimova <kittykat3756@gmail.com>
2021-08-09 16:29:26 +01:00
David Baker
bcc7c9cd20 Use a GitHub action to build the Netlify preview build
So we don't need netflify to sit there building the develop branch
for no reason. Also it will comment with the URL rather than having
to dig it out of the checks.

Upload part not tested yet.
2021-08-06 23:54:19 +01:00
David Baker
429eb085ea Add changelog preview action 2021-08-06 23:05:06 +01:00
David Baker
26170deb3b Add changelog preview action 2021-08-06 23:05:05 +01:00
David Baker
e9863f0719 Add github workflow to put issues tagged design on the design board 2021-08-04 18:50:09 +01:00
David Baker
5399929da5 Comment why end to end tests are only on the develop branch 2021-07-14 17:13:40 +01:00
Michael Telatynski
6c64f564e4 Naive attempt at improving our end-to-end tests in Github Actions 2021-06-21 09:14:44 +01:00
J. Ryan Stinnett
9f83846ecc Remove redundant word from GitHub Actions workflow 2021-06-17 14:35:33 +01:00
Germain Souquet
adc4bd14c0 Disable comment-on-alert 2021-06-15 15:19:47 +01:00
Germain Souquet
8dbc5bddc0 Disable comment-on-alert for PR coming from a fork 2021-06-15 14:47:45 +01:00
Germain Souquet
011a2f2bb6 Remove test data for develop pipeline 2021-06-15 10:59:57 +01:00
Germain Souquet
2b2e83b9e7 Fix github token 2021-06-15 10:10:22 +01:00
Germain Souquet
55a9915c55 Upgrade github-action-benchmark 2021-06-15 10:01:05 +01:00
Germain Souquet
6f6a128587 try auto push 2021-06-15 09:27:44 +01:00
Germain Souquet
646416c8ec try deployment to gh-pages 2021-06-15 08:59:51 +01:00
Germain Souquet
6e3ece2dc6 use proper released github action 2021-06-14 15:29:18 +01:00
Germain Souquet
7000176572 Add workflow steps to track measurements 2021-06-14 14:53:22 +01:00
Germain Souquet
4e14c612b7 Remove extraenous instructions 2021-06-09 12:17:49 +01:00
Germain Souquet
90cc26c78f rename workflow 2021-06-09 12:17:12 +01:00
Germain
c9b1d1aef0
Only run e2e tests on develop and PR targetting develop
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-06-09 10:38:28 +01:00
Germain Souquet
5c62728d13 Migrate end to end tests pipeline to GitHub Actions 2021-06-08 12:52:32 +01:00