Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v11.16.0 #24242

Merged
merged 134 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
25ae5a4
fix: new-network button label colors are not readable in light mode (…
micaelae Apr 12, 2024
ac9e13b
ci: update `actions/setup-node` to v4 (#23821)
davidmurdoch Apr 15, 2024
833b601
fix: Updated avatar favicon props for single account disconnect toast…
NidhiKJha Apr 15, 2024
07de882
fix: cache subject metadata for redirect (#23999)
FrederikBolding Apr 15, 2024
91d5d4e
test: [Snaps E2E] add more snaps localization testing (#23796)
bowensanders Apr 15, 2024
96d478a
feat: Release Transaction Insights V2 & Signature Insights to stable …
hmalik88 Apr 15, 2024
2cde24c
test: [Snaps E2E] Create E2E test for UI links (#22739)
bowensanders Apr 15, 2024
f8b92ab
feat: retrieve layer 1 gas fee from transaction controller (#23521)
OGPoyraz Apr 15, 2024
4dc299e
fix: checkmark icon missing after token import (#24005)
bergeron Apr 15, 2024
1004559
ci: update `github/codeql-action` to v3 (#23820)
davidmurdoch Apr 15, 2024
9c78339
ci: update `actions/checkout` to v4 (#23822)
davidmurdoch Apr 15, 2024
b1b8c08
fix: issue where provider engine needs to rerun after permissions are…
adonesky1 Apr 15, 2024
be3c4f2
build: remove `brfs` from build processes (#24000)
davidmurdoch Apr 15, 2024
f23f095
ci: fix create-lavamoat-viz script (#22759)
legobeat Apr 16, 2024
8f3270f
fix: updated connections page for connected data (#24022)
NidhiKJha Apr 16, 2024
01a4d60
fix: Updated selector for the test networks (#23986)
NidhiKJha Apr 16, 2024
c1b2cbe
fix: fixed wallet view bugs for connections and permissions screen (#…
NidhiKJha Apr 16, 2024
3798950
feat: add filecoin logo svg (#24039)
salimtb Apr 16, 2024
d91e182
feat: create Developer Options Setting Page (#22382)
digiwand Apr 16, 2024
6ed9d04
chore: MMI adds custodian icons (#23912)
zone-live Apr 16, 2024
8c8f68f
feat: Update UI / content for the Smart Transactions Opt In modal, re…
dan437 Apr 16, 2024
d40321c
fix: improve performance in account list and account connection compo…
FrederikBolding Apr 16, 2024
257e9f9
fix: deprecating more networks (#23695)
sahar-fehri Apr 16, 2024
e322bc8
fix: token rates controller start / stop logic (#24021)
bergeron Apr 16, 2024
62a8bd2
chore: bump snaps packages (#23957)
FrederikBolding Apr 16, 2024
670f2e1
ci(actions): update `amannn/action-semantic-pull-request` to v5.4.0 (…
davidmurdoch Apr 16, 2024
8560878
fix(labeling guidelines): Add definition of regression-develop label …
gauthierpetetin Apr 17, 2024
f0494a1
feat: prevent pasting of Snap name during Snap removal (#23993)
montelaidev Apr 17, 2024
48a7969
chore: adds GH action for MMI (#23778)
zone-live Apr 17, 2024
b373f16
feat: improve blockaid error/warning copy (#24037)
segun Apr 17, 2024
9a7c113
fix: Gas Estimation failure displays 2 duplicated Warnings (#23886)
blackdevelopa Apr 17, 2024
e129408
refactor: Extract `BlockaidUnavailableBannerAlert` component (#24045)
pedronfigueiredo Apr 17, 2024
3ba6cd4
fix: signature request using ledger on new designed confirmation page…
jpuri Apr 17, 2024
abc2295
feat: Show simulation details on the Smart Transactions status page f…
dan437 Apr 17, 2024
1134d5f
chore: updates mmi package to latest version (#24073)
zone-live Apr 17, 2024
387216c
fix(mv3): fix file paths passed to `app-init.js` (#24059)
danjm Apr 17, 2024
915aa5b
fix(mv3): use correct file paths in mv3 test builds (#24060)
danjm Apr 17, 2024
15fc955
fix: Intl.NumberFormat locale RangeError related to Simulation Detail…
dbrans Apr 17, 2024
5f67907
fix: replace last usages of legacy gas fee polling with polling by ne…
jiexi Apr 17, 2024
c90eab7
Zb/update queued request controller (#24061)
BelfordZ Apr 17, 2024
d5facf9
fix: Fix back navigation from connected accounts (#24085)
jonybur Apr 17, 2024
1aab1f8
fix: Deduplicate accounts in `addMorePermittedAccounts()` (#24057)
rekmarks Apr 17, 2024
8003830
test: [E2E] edit account name (#23712)
plasmacorral Apr 17, 2024
b1cbcfa
fix(deps): @solana/web3.js 1.91.6 (#24094)
legobeat Apr 17, 2024
af2647e
fix: updated connections page to use getPermittedAccountsForSelectedT…
NidhiKJha Apr 18, 2024
b12c5d3
fix: fix migration 105 to recover from undefined selected address (#2…
montelaidev Apr 18, 2024
0b2b202
feat: Removed product tour from home page (#24051)
NidhiKJha Apr 18, 2024
e6428f8
fix: Prevent HD keyring from being removed (#24096)
Gudahtt Apr 18, 2024
c45bc6b
ci: add `create-cherry-pick-pr` github action (#24074)
seaona Apr 18, 2024
1cf139e
fix: Disable button in case all accounts are connected (#24084)
jonybur Apr 18, 2024
02a3892
chore: bump-metamask-controllers-util-to-9.1.0 (#24107)
digiwand Apr 18, 2024
5a48751
chore: MMI adds SRP screen during onboarding (#24080)
zone-live Apr 18, 2024
d130cde
fix: Use cached version of 'chrome' in app-init.js (#24103)
danjm Apr 18, 2024
50310db
fix: simulation details should show fiat values for most erc20 tokens…
dbrans Apr 18, 2024
d11f03b
chore: replace static hex with design tokens in toggle button (#24090)
georgewrmarshall Apr 18, 2024
553327c
fix: remove identities and use internal accounts (#23597)
montelaidev Apr 18, 2024
a40f06f
fix(offscreen): Fix error loading offscreen document in prod (#24083)
brad-decker Apr 18, 2024
e83d28b
fix: simulation erc20 decimals error (#24116)
dbrans Apr 18, 2024
9b38cf5
feat: set token autodetection to true for new … (#23700)
salimtb Apr 18, 2024
6f847f0
Add experimental setting option for redesigned pages (#24052)
jpuri Apr 19, 2024
4ffb752
fix: regex in stripOneLayerofNesting (#23372)
witmicko Apr 19, 2024
ef982c4
feat: set default 4337 entrypoint in flask (#24124)
montelaidev Apr 19, 2024
7953710
fix: ensure ppom works on mv3 builds (#24115)
danjm Apr 19, 2024
af50f46
fix: add patch for fetching tokenURI for ERC404 (#24029)
sahar-fehri Apr 19, 2024
834e0c8
feat: Confirmation redesign - Remove the scheme ("https://","http://"…
segun Apr 19, 2024
e1beee1
fix: Updated the script to generate commits in the release (#23914)
hjetpoluru Apr 19, 2024
b3750d4
feat: display layer 1 gas fees on scroll network (#23991)
matthewwalsh0 Apr 19, 2024
15ad0b2
feat: add Signature Redesign "Account Details Opened" event (#24095)
digiwand Apr 19, 2024
e0ecf74
test: UX: Multichain: Add E2E for RPC queueing UI (#24070)
darkwing Apr 19, 2024
45d8425
test: add scenario 'Cancel transaction by sending subsequent transact…
sleepytanya Apr 19, 2024
649c1c4
feat: Change RPC Method Middleware default rate limit to random sampl…
jiexi Apr 19, 2024
985b652
test: add scenario send transactions with custom nonce (#23714)
sleepytanya Apr 20, 2024
b75e313
chore: MMI enable Sentry logging for mmi build type (#24079)
zone-live Apr 22, 2024
c370877
feat: notifications - user storage controller (#23353)
Prithpal-Sooriya Apr 22, 2024
f971677
feat: Added e2e for permissions page (#24127)
NidhiKJha Apr 22, 2024
358f0bb
fix: Fix tooltip distance (#24098)
jonybur Apr 22, 2024
0e91427
feat: show tooltip and icon when network is busy (#24104)
segun Apr 22, 2024
cc928f6
fix: needs to be always true for MMI (#24163)
zone-live Apr 22, 2024
6da0723
Fix #24125 - Maximize AccountPicker space in header (#24139)
darkwing Apr 22, 2024
b3c8d32
feat: Hide the "retry" button for Smart Transactions, show cancelled …
dan437 Apr 22, 2024
3ed1ee1
feat: use Infura gas API (#23717)
OGPoyraz Apr 23, 2024
b59e899
chore: add back SENTRY_MMI_DSN build variable (#24190)
zone-live Apr 23, 2024
ecf57cc
fix: adds default empty value (#24192)
zone-live Apr 23, 2024
26ac8d3
fix: add migration for stuck transactions (#24027)
OGPoyraz Apr 23, 2024
bc2afb0
feat: metamask notifications controller (#23393)
matteoscurati Apr 23, 2024
bf946dc
fix(deps): web3-stream-provider@^4.0.0->^5.0.0 (#23216)
legobeat Apr 23, 2024
3627a99
feat: Add updated UI for Snap install and update flows (#23870)
david0xd Apr 23, 2024
95f1055
fix: issue where per dapp selected network proxies are not synced cor…
adonesky1 Apr 23, 2024
e7a3b07
fix: hover styles of scroll to bottom button (#24147)
jpuri Apr 23, 2024
378bb27
chore: Update ppom package (#24171)
pedronfigueiredo Apr 23, 2024
a4368d3
fix: address UI review feedbacks on signature request re-designed pag…
jpuri Apr 23, 2024
4f8a951
fix: transaction created after a pending signature request does not l…
jpuri Apr 23, 2024
0097d45
chore: disable sonarcloud in github actions (#24197)
DDDDDanica Apr 23, 2024
88bc4e8
feat: metrics for token removed and NFT details opened (#24175)
bergeron Apr 23, 2024
fef4fa5
feat(restore): Add Restore type to onboarding flow (#23739)
brad-decker Apr 23, 2024
c33c5df
feat: reduce the number of decimals shown for simulation detail amoun…
dbrans Apr 23, 2024
5efc5c7
fix: Flaky test to support changes introduced in PR 23155 (#24195)
hjetpoluru Apr 23, 2024
c5e95a4
fix: duplicate simulation metrics (#24194)
dbrans Apr 23, 2024
2638466
fix: disable polling when MM closed (#24162)
sahar-fehri Apr 23, 2024
085e808
chore: adds mmi tem as codeowners (#24216)
zone-live Apr 24, 2024
4b55476
fix: add npm resolution @spruceid/siwe-parser 1.1.3 → 2.1.0 with patc…
digiwand Apr 24, 2024
f3c4676
feat: token detection on 7 more networks (#24121)
bergeron Apr 24, 2024
fb49066
fix: token list cleared on network switch (#24212)
bergeron Apr 24, 2024
ec03702
feat: Refactor and update permission-connect UI (#23557)
david0xd Apr 24, 2024
ea6e262
ci: update `actions/checkout` from v2 to v4 (#24064)
davidmurdoch Apr 24, 2024
d84ef28
ci: update `actions/stale` from commit 72afbce2b0dbd1d903bb142cebe2d1…
davidmurdoch Apr 24, 2024
7e972ba
refactor: change CurrencyRateController Polling to be UI driven (#23476)
jiexi Apr 24, 2024
d8d9bc6
chore: bump snaps packages (#24226)
FrederikBolding Apr 25, 2024
d181619
11.16.0 changelog
benjisclowder Apr 25, 2024
2796377
chore(deps): Bump phishing-controller to ^9.0.2 (v11.16.0 cherry-pick…
Gudahtt May 2, 2024
e21c67f
Merge branch 'master' into Version-v11.16.0
danjm May 7, 2024
756dba1
Update LavaMoat policies
metamaskbot May 8, 2024
cfeaba9
Merge remote-tracking branch 'origin/master' into Version-v11.16.0
danjm May 9, 2024
4a79f99
Run yarn dedupe on v11.16.0 after merging master after v11.15.1+
danjm May 9, 2024
d980b6a
Update LavaMoat policies
metamaskbot May 9, 2024
bdd2ecd
fix: Update gas fee controller to v11.15.2 (#24520)
danjm May 15, 2024
5aa4a3a
fix: :white_check_mark: fix a date in a test
matteoscurati May 9, 2024
db89ed4
chore(test/e2e): Fix request-queueing/ui.spec.js (#24440)
danjm May 8, 2024
fffd36a
fix: Removing usage of driver.navigate before unlockWallet (#24436)
vthomas13 May 8, 2024
6059e37
fix: lock snaps deps for RC
FrederikBolding May 16, 2024
46685a5
chore: cherry-pick sentry and snapshot test changes from #24306 to v1…
dbrans Apr 30, 2024
30ae822
Merge pull request #24564 from MetaMask/cherry-pr-flaky-test
danjm May 17, 2024
0d90392
Merge remote-tracking branch 'origin/master' into Version-v11.16.0
danjm May 17, 2024
73e5c4b
Version v11.16.0 changelog (#24305)
benjisclowder May 18, 2024
4e45738
Cherry-pick fix: decimals and fiat conversion crashes in simulation (…
dbrans May 20, 2024
a22b13d
cherry-pick: add fallback method for currency formatter in `useFiatFo…
OGPoyraz May 21, 2024
edeca15
Version v11.16.0 cherry pick 24664 (#24673)
danjm May 21, 2024
afafe48
Cherry-pick fix stopgap for BigNumber shift NaN issue (#24691) into v…
dbrans May 22, 2024
6e20c20
feat (cherry-pick): Add new privacy policy toast (#23838) (#24722)
jonybur May 22, 2024
041e79c
feat (cherry-pick): New onboarding text (#24729)
jonybur May 22, 2024
ad0234b
revert (cherry-pick): deprecating more networks (#23695) (#24524)
salimtb May 23, 2024
ab26c04
Merge remote-tracking branch 'origin/master' into Version-v11.16.0
danjm May 23, 2024
43832ef
lint changelog for v11.16.0
danjm May 23, 2024
a848063
cherry-pick – chore: bump transaction-controller to 29.0.2 (#24701) i…
dbrans May 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 4 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ jobs:
- test-artifacts

job-publish-prerelease:
executor: node-browsers-small
executor: node-browsers-medium
steps:
- checkout
- attach_workspace:
Expand Down Expand Up @@ -1384,13 +1384,9 @@ jobs:
path: test-artifacts
destination: test-artifacts
# important: generate lavamoat viz AFTER uploading builds as artifacts
# Temporarily disabled until we can update to a version of `sesify` with
# this fix included: https://github.com/LavaMoat/LavaMoat/pull/121
# Disabled 2024-03-25 due to flakiness.
# - see: https://github.com/MetaMask/metamask-extension/issues/23704
#- run:
# name: build:lavamoat-viz
# command: ./.circleci/scripts/create-lavamoat-viz.sh
- run:
name: build:lavamoat-viz
command: ./.circleci/scripts/create-lavamoat-viz.sh
- store_artifacts:
path: build-artifacts
destination: build-artifacts
Expand Down
32 changes: 32 additions & 0 deletions .circleci/scripts/create-cherry-pick-pr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/usr/bin/env bash

set -e
set -u
set -o pipefail

# Takes in 3 args
# - 1 - Base PR Branch Name
# - 2 - Commit Hash
# - 3 - PR Number

BASE_PR_BRANCH_NAME="${1}"
COMMIT_HASH_TO_CHERRY_PICK="${2}"
PR_BRANCH_NAME="chore/cherry-pick-${3}"
PR_TITLE="chore: cherry-pick #${3}"
PR_BODY="This PR cherry-picks #${3}"

git config user.name "MetaMask Bot"
git config user.email "metamaskbot@users.noreply.github.com"

git checkout "${BASE_PR_BRANCH_NAME}"
git pull
git checkout -b "${PR_BRANCH_NAME}"
git cherry-pick "${COMMIT_HASH_TO_CHERRY_PICK}"

git push --set-upstream origin "${PR_BRANCH_NAME}"

gh pr create \
--draft \
--title "${PR_TITLE}" \
--body "${PR_BODY}" \
--head "${BASE_PR_BRANCH_NAME}"
29 changes: 27 additions & 2 deletions .circleci/scripts/create-lavamoat-viz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,33 @@ BUILD_DEST="./build-artifacts/build-viz/"
# prepare artifacts dir
mkdir -p "${BUILD_DEST}"

# generate lavamoat debug config
# generate lavamoat debug configs
yarn lavamoat:debug:build
yarn lavamoat:debug:webapp --parallel=false

# generate entries for all present policy dirs under lavamoat/browserify
# static entry for build-system
POLICY_DIR_NAMES=$(find lavamoat/browserify -maxdepth 1 -mindepth 1 -type d -printf '%f ')

POLICY_FILE_PATHS_JSON=$(echo -n "${POLICY_DIR_NAMES}" \
| jq --raw-input --slurp --indent 0 '
rtrimstr(" ")
| split(" ")
| map({
"key": .,
"value": {
"debug": ("lavamoat/browserify/"+.+"/policy-debug.json"),
"override":"lavamoat/browserify/policy-override.json",
"primary":("lavamoat/browserify/"+.+"/policy.json")
}
})
| from_entries
|."build-system"= {
"debug": "lavamoat/build-system/policy-debug.json",
"override":"lavamoat/build-system/policy-override.json",
"primary": "lavamoat/build-system/policy.json"
}'
)
# generate viz
npx lavamoat-viz --dest "${BUILD_DEST}"
# shellcheck disable=SC2086
yarn lavamoat-viz --dest "${BUILD_DEST}" --policyNames build-system ${POLICY_DIR_NAMES} --policyFilePathsJson "${POLICY_FILE_PATHS_JSON}"
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@ privacy-snapshot.json @MetaMask/extension-privacy-reviewers

# Confirmations UX team to own code for confirmations on UI.
ui/pages/confirmations @MetaMask/confirmations-ux @MetaMask/confirmations-system-team

# MMI team is responsible for code related with Institutioanl version of MetaMask
ui/pages/institutional @MetaMask/mmi
ui/components/institutional @MetaMask/mmi
ui/ducks/institutional @MetaMask/mmi
ui/selectors/institutional @MetaMask/mmi
3 changes: 2 additions & 1 deletion .github/guidelines/LABELING_GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ It's essential to ensure that PRs have the appropriate labels before they are co
- **release-x.y.z**: This label is automatically added to a PR and its linked issues upon the PR's merge. The `x.y.z` in the label represents the version in which the changes from the PR will be included. This label is auto-generated by a [GitHub action](../workflows/add-release-label.yml), which determines the version by incrementing the minor version number from the most recent release. Manual intervention is only required in specific cases. For instance, if a merged PR is cherry-picked into a release branch, typically done to address Release Candidate (RC) bugs, the label would need to be manually updated to reflect the correct version.
- **regression-prod-x.y.z**: This label is automatically added to a bug report issue at the time of its creation. The `x.y.z` in the label represents the version in which the bug first appeared. This label is auto-generated by a [GitHub action](../workflows/check-template-and-add-labels.yml), which determines the `x.y.z` value based on the version information provided in the bug report issue form. Manual intervention is only necessary under certain circumstances. For example, if a user submits a bug report and specifies the version they are currently using, but the bug was actually introduced in a prior version, the label would need to be manually updated to accurately reflect the version where the bug originated.

### Optional QA labels:
### Optional labels:
- **regression-develop**: This label can manually be added to a bug report issue at the time of its creation if the bug is present on development branch (i.e. `develop`), but is not yet released in production.
- **needs-qa**: If the PR includes a new features, complex testing steps, or large refactors, this label must be added to indicated PR requires a full manual QA prior being merged and added to a release.

### Labels prohibited when PR needs to be merged:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/add-mmi-reviewer-and-notify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Notify MMI team via Slack

on:
pull_request_target:
branches:
- develop
types:
- opened
- reopened
- synchronize
- labeled

jobs:
process-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Notify MMI team via Slack
if: contains(github.event.pull_request.labels.*.name, 'team-mmi')
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
with:
status: custom
fields: repo,message,commit,author,action
payload: |
{
"text": "A PR with label 'team-mmi' was added and requires review: ${{ github.event.pull_request.html_url }} in ${{ github.repository }}",
"attachments": [
{
"color": "#2eb886",
"fields": [
{
"title": "Repository",
"value": "${{ github.repository }}",
"short": true
},
{
"title": "PR",
"value": "#${{ github.event.pull_request.number }}",
"short": true
}
]
}
]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.MMI_LABEL_SLACK_WEBHOOK_URL }}
4 changes: 2 additions & 2 deletions .github/workflows/add-release-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
if: github.event.pull_request.merged == true
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # This is needed to checkout all branches

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1 # This retrieves only the latest commit.

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-template-and-add-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1 # This retrieves only the latest commit.

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/close-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'Version-v')
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1 # This retrieves only the latest commit.

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: yarn
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
31 changes: 31 additions & 0 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Cherry Pick Commit

on:
workflow_dispatch:
inputs:
branch_name:
description: 'Branch name you want the cherry-pick branch to be based from'
required: true
commit_hash:
description: 'Commit Hash'
required: true
PR_number:
description: 'PR # Associated with Cherry Pick'
required: true


jobs:
cherry-pick:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Create Cherry Pick PR
id: create-cherry-pick-pr
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./scripts/create-cherry-pick-pr.sh ${{ github.event.inputs.branch_name }} ${{ github.event.inputs.commit_hash }} ${{ github.event.inputs.PR_number }}
2 changes: 1 addition & 1 deletion .github/workflows/crowdin-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: crowdin action
uses: crowdin/github-action@a3160b9e5a9e00739392c23da5e580c6cabe526d
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Check workflows
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Download actionlint
id: download-actionlint
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/7fdc9630cc360ea1a469eed64ac6d78caeda1234/scripts/download-actionlint.bash) 1.6.23
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ on:
secrets:
SONAR_TOKEN:
required: true
pull_request:
branches:
- develop
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
# pull_request:
# branches:
# - develop
# types:
# - opened
# - reopened
# - synchronize
# - labeled
# - unlabeled

jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for better relevancy of analysis
- name: SonarCloud Scan
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stale-issues-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57
# this is a hash for actions/stale@v9.0.0
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with:
stale-issue-label: 'stale'
only-issue-labels: 'type-bug'
Expand Down