1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00
Commit Graph

76 Commits

Author SHA1 Message Date
Mark Stacey
d138882253
Remove unnecessary step from action workflow (#19677)
The `chmod` step has been removed from the GitHub Actions workflow for
adding release labels. The script has been made executable in the
repository instead (the file mode is tracked by git).
2023-06-20 20:03:24 -02:30
Mark Stacey
1cc599708a
Use nvmrc in GitHub Actions workflows (#19661)
The `nvmrc` file is now referenced in our GitHub Actions workflows,
rather than hard-coding the expected Node.js version. This will make
future Node.js version changes easier to manage.
2023-06-20 20:03:02 -02:30
Pedro Figueiredo
ba6a27130e
add sonarqube to the extension (#19304) 2023-06-20 17:58:10 +01:00
Mark Stacey
962eabd278
Rename the Crowdin workflow action (#19663)
The workflow file has been renamed to use kebab-case, as is the
convention for all of our other files.
2023-06-20 11:36:44 -02:30
Gauthier Petetin
3bbfe87e9e
feat(action): github action to automatically add label "release-x.y.z" when PRs get merged (#19061)
* feat(action): github action to add release label when PR gets merged

* feat(action): make sure the action only runs for PRs merged in main branch

* fix(action): update labels default color

* fix(action): add check on release label format

* fix(action): type function explicitely

* feat(action): add possibility to extract next release version number from artifact

* fix(action): rename next rc cut number into next semver version

* feat(action): add a github action to create release branch

* fix(action): default branch is develop

* fix(action): specify name of workflow used to create release branch

* fix(action): handle case where artifact doesn't exist

* fix(action): create branch but not the PR

* feat(action): fetch next semver version from release branches name or from package.json

* fix(action): remove unused Create Release Branch action

* fix(action): release branch format was not correct

* feat(action): take tags into account when calculating next version number

* feat(action): add the possibility to force next semver version

* fix(action): update comments

* fix(action): adopt kebak-case instead of snake_case

* fix(action): rename PERSONAL_ACCESS_TOKEN into RELEASE_LABEL_TOKEN

* fix(action): yarn installation not required

* fix(action): yarn install shall be immutable

* fix(action): make the script compatible with ShellCheck

* fix(script): exit script earlier if condition is met

* fix(action): use closingIssuesReferences instead of timeline events

* fix(action): add execute permissions to script

* fix(action): remove duplicate comment
2023-06-20 09:29:35 -03:00
Pedro Figueiredo
45c833d890
disable pr labeler (#19185) 2023-05-18 14:03:39 +01:00
Pedro Figueiredo
6e180af313
remove pre commit hook for branch names (#19077)
* remove pre commit hook for branch names

* bail with ticket number 0 detected
2023-05-09 20:39:38 +01:00
Pedro Figueiredo
8df3bc9c1b
Label PRs based on the labels of the associated issue (#17603)
* Implement CI to copy issue labels over to PRs

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean up

* clean up
2023-05-08 09:51:02 +01:00
Dan J Miller
9062c347db
Update CODEOWNERS: remove requirement for supply-chain team to approv… (#19014)
* Update CODEOWNERS: remove requirement for supply-chain team to approve lavamoat policy changes

* Require extension-devs or supply-chain teams to give approving reviews on PRs that have lavamoat policy changes

---------

Co-authored-by: Brad Decker <bhdecker84@gmail.com>
2023-05-04 20:56:05 -02:30
Frederik Bolding
2c9306d8ed
Update CODEOWNERS (#19007)
Co-authored-by: Dan J Miller <danjm.com@gmail.com>
2023-05-04 17:32:06 -02:30
Pedro Figueiredo
1d80029691
fix ff diff generation (#18824)
* fix ff diff generation

* wip

* Update .github/workflows/fitness-functions.yml

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

* Update .github/workflows/fitness-functions.yml

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-05-03 16:04:53 +04:00
Frederik Bolding
d58b1f9aa7
Add snaps entries to CODEOWNERS (#18825)
* Add snaps entry to CODEOWNERS

* Add flask entry
2023-04-27 10:48:04 -05:00
Pedro Figueiredo
a4a5b28f2e
Fix diff generation for fitness functions (#18508) 2023-04-25 16:21:14 +01:00
Pedro Figueiredo
632ae0b7c3
Prevent new JS files in shared folder (#17737)
* Prevent new JS files in shared folder

* migrate to typescript

* fix types

* cleanup
2023-04-24 15:44:42 +01:00
Ariella Vu
7617a44a57
Add "Do Not Merge" GH Action to block PRs with "DO-NOT-MERGE" label (#18724)
* gh action: do-not-merge

* gh action: do-not-merge update

* gh action: Do Not Merge - use github.event.pull_request

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-21 12:31:49 -03:00
João Tavares
cd1a8270ab
Add github action to trigger metamask-desktop CI (#17977)
* chore: add action to trigger metamask-desktop ci

We want to be able to trigger
MetaMask Desktop CI whenever we
are releasing the Extension (in this
case, merging to master branch).
This will allow the desktop team
to easily identify whenever a breaking
change (to the extension-desktop app
pairing) is being released and address
the issue within the desktop app
in a timely manner

* use double quotes

ensure these get interpreted as single strings.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>

---------

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-03-09 15:37:01 +00:00
Pedro Figueiredo
d00b517682
disable ff (#17754) 2023-02-14 20:01:14 +00:00
Pedro Figueiredo
18a1b80524
Fix mocha syntax fitness function (#17712) 2023-02-10 17:36:14 +00:00
seaona
1dbacc2826
e2e Send to Multisig Wallet (#17565)
* e2e Send to Multisig Wallet

* Update test-dapp dependency to 5.4.0

* Added test-dapp update version to yarn lock

* disable ff

---------

Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2023-02-10 15:35:45 +01:00
Pedro Figueiredo
26f6ae4c7c
Add testing documentation (#17411)
* Add testing documentation

* Implement diff filtering by regex

* change to relative import
2023-02-09 17:08:48 +00:00
Brad Decker
4cb2e573e5
add brad-decker as codeowner of .circle/ folder (#17648) 2023-02-08 08:29:15 -06:00
Brad Decker
137d5df0f5
Update codeowners to reflect importance of review (#16665) 2022-11-29 13:10:42 -06:00
legobeat
0336a3c006
Revert "ci: temporarily downgrade ubuntu to 20.04" (#16374)
This reverts commit bc6c6c4de4af7da210269700c5f6c417d27d3030.
2022-11-07 03:29:01 +00:00
Peter Yinusa
726b7b52cc
Update PULL_REQUEST_TEMPLATE.md (#16367) 2022-11-04 14:58:35 +00:00
legobeat
b744eab176
ci: temporarily downgrade ubuntu to 20.04 (#16320) 2022-11-01 09:56:35 -02:30
Zbyszek Tenerowicz
44d2f210d0
Set lavamoat codeowners to allow supply chain reviews (#15624) 2022-08-28 12:26:35 -05:00
ryanml
cad7ea04b1
Updating Zendesk ticket request URLs (#15458) 2022-08-04 12:45:25 -05:00
hilvmason
1b23ea1352
Update PULL_REQUEST_TEMPLATE.md (#14790) 2022-06-01 15:10:40 -04:00
Kevin Ghim
6bf87b83a6
Update bug-report.yml (#14466)
Co-authored-by: David Walsh <davidwalsh83@gmail.com>
2022-05-03 11:07:15 -05:00
hilvmason
8223aecabf
Update PULL_REQUEST_TEMPLATE.md (#14547) 2022-05-02 13:36:29 -04:00
ricky
eb241ae68f
bump crowdin/github-action (#14475) 2022-04-20 15:46:53 -04:00
ricky
2b134a0c7f
Update crowdin/github-action (#14381)
* Use crowdin/github-action@1.4.7

* use SHA
2022-04-07 14:28:03 -04:00
Elliot Winkler
f9ea6f5185
Update pull request template (#13908)
In order to properly review a pull request, it is necessary to not only
understand the details about the changes presented, but also the
*context* behind those changes. Oftentimes, this context is difficult to
locate or even absent altogether. Providing a link to an issue or a user
story helps, but only if there are sufficient details listed in the
resource itself, which may not always be the case. Ultimately, I feel
that the best way to provide such information is to briefly explain it
in the PR description.

Additionally, for changes that involve UI/UX improvements, screenshots
or screencaps can really help the review process, as one can comprehend
the changes much faster than reading the relevant code.

With that in mind, this commit updates the pull request template to
include some more prompts and a better template for the description
area.
2022-03-14 09:28:27 -06:00
AndreasGassmann
355e5ab399
Add AirGap Vault detail links (#13650) 2022-02-22 13:00:51 -06:00
ricky
405a3495b0
Update crowdin workflow config (#13494)
* Add metamaskbot GH_USERNAME and GH_EMAIL to env

* add additional config for token, github_user_name, github_user_email

* delete

* delete token

* add GITHUB_ACTOR

Co-authored-by: Alex Donesky <adonesky@gmail.com>
2022-02-04 13:51:11 -05:00
ricky
f58e2552c3
use PAT for GITHUB_TOKEN (#13307)
Use `secrets.METAMASKBOT_CROWDIN_TOKEN` for `GITHUB_TOKEN`

ref: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow

> When you use the repository's GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.
2022-01-13 17:45:07 -05:00
Mark Stacey
14704917c6
Update Bug Report issue template (#13267)
The "Bug Report" issue template now uses the new "issue form" GitHub
feature[1], which allows creating issues using a web form. This form
should be more effective in encouraging submitters to fill out the
required fields.

This form includes a new field for error messages or log output, and
for the build type the user was using (e.g. Flask).

[1]: https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
2022-01-11 15:02:17 -03:30
Alex Donesky
211c5afb7b
add crowdin-bot to the CLA allowlist (#13193) 2022-01-03 13:48:56 -06:00
ricky
163d472fdf
Add crowdin configuration and github action (#12552)
* add crowdin.yml

* add crowdin_action.yml

* remove comments

* test on this branch

* use SHA

* only run on develop
2021-12-09 16:53:58 -05:00
kumavis
0a8f94af81
Create codeql-analysis.yml (#12652) 2021-11-10 17:28:25 -10:00
Ilan
fa52753d00
Update bug-report.md (#12368) 2021-10-18 10:34:04 -07:00
Mark Stacey
fae857d1c0
Fix CLA Signature bot workflow (#11250)
In a recent PR (#11240) the workflow was updated to explicitly add the
required permissions. Unfortunately the "pull-requests" permission was
added with a space instead of a dash, which apparently breaks the
workflow. It now has a dash, as shown in the example in the docs [1].

[1]: https://docs.github.com/en/actions/reference/authentication-in-a-workflow#example-1-passing-the-github_token-as-an-input
2021-06-07 18:13:31 -02:30
Mark Stacey
a58c66af1f
Restore CLA bot permissions (#11240)
The CLA bot had its write permissions revoked recently when our
organization-wide settings were updated to restrict actions to read
access by default. This PR restores write access to PRs and to the
repository itself for the CLA bot. It needs PR write access to leave
comments, and needs write access to the repo itself to commit new
signatures.
2021-06-07 11:27:15 -02:30
ricky
c87f8547a0
Update config.yml (#11217)
Use `community.metamask.io` for "Request a new feature"
2021-06-01 12:22:51 -04:00
Mark Stacey
0c627fa4f3
Update the CLA Signature bot to v3.0.2 (#10947)
This update includes support for PRs with >100 commits.
2021-04-28 20:15:47 -02:30
Erik Marks
9d4b8a4903
@metamask/contract-metadata (#9968) 2020-12-01 14:55:01 -08:00
Whymarrh Whitby
9b4b4a05fa
Add eth-contract-metadata to Dependabot auto-updates (#9734)
This change adds `eth-contract-metadata` to the list of packages that Dependabot will autoupdate.
2020-10-27 14:53:38 -02:30
David Walsh
8edeca83b0 Fix pull request template location 2020-10-23 11:39:41 -05:00
Whymarrh Whitby
055f008c0d
Add a GitHub Dependabot config (#9664)
This change adds a GitHub Dependabot configuration to enable daily checks for dependency updates.

[See the docs for more information.][1]

  [1]:https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/configuration-options-for-dependency-updates

This config enables checking for dependencies in the root `package.json` file (`directory`) every weekday (`schedule.interval`) only for lockfile updates, ignoring any new versions that would require package manifest changes. (if necessary, `versioning-strategy`). This is all restricted to the organization's `@metamask/*` packages.
2020-10-23 12:24:10 -02:30
David Walsh
f264ed078c Add pull request template 2020-10-21 15:24:30 -05:00