Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/lint-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
node-version: [22.x, 24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
cache-node-modules: true
is-high-risk-environment: false
Expand All @@ -27,7 +27,7 @@ jobs:
node-version: [24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand All @@ -49,7 +49,7 @@ jobs:
node-version: [24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand All @@ -71,7 +71,7 @@ jobs:
node-version: [24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand All @@ -93,7 +93,7 @@ jobs:
node-version: [22.x, 24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
node-version: [22.x, 24.x]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand All @@ -148,7 +148,7 @@ jobs:
package: [omnium-gatherum, nodejs, extension]
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.issue.number }}
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: true
- name: Get commit SHA
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: true
- uses: MetaMask/action-publish-release@v3
Expand All @@ -38,7 +38,7 @@ jobs:
needs: publish-release
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: true
ref: ${{ github.sha }}
Expand All @@ -59,7 +59,7 @@ jobs:
needs: publish-npm-dry-run
steps:
- name: Checkout and setup environment
uses: MetaMask/action-checkout-and-setup@v2
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: true
ref: ${{ github.sha }}
Expand Down
1 change: 0 additions & 1 deletion scripts/pre-commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ fi

yarn lint-staged
yarn dedupe --check

4 changes: 2 additions & 2 deletions scripts/rebuild-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# This checks if artifacts already exist to avoid unnecessary rebuilds.
# Pass --force or -f to rebuild even if build artifacts already exist.

# Skip in Dependabot environments (native builds aren't needed and may fail)
# Skip in Dependabot updater environments (native builds aren't needed and may fail)
if "$(dirname "$0")/utils/check-dependabot.sh"; then
echo "⏭️ Skipping native rebuild in Dependabot environment"
echo "⏭️ Skipping native rebuild in Dependabot updater environment"
exit 0
fi

Expand Down
3 changes: 1 addition & 2 deletions scripts/utils/check-dependabot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
#
# Environment variables checked:
# - DEPENDABOT: Set in the Dependabot updater environment
# - GITHUB_ACTOR: Set to "dependabot[bot]" in Dependabot PR workflows

is_dependabot_env() {
[ -n "$DEPENDABOT" ] || [ "$GITHUB_ACTOR" = "dependabot[bot]" ]
[ -n "$DEPENDABOT" ]
}

is_dependabot_env
Loading