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
5 changes: 0 additions & 5 deletions .github/actionlint.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/actions/check-skip-merge-queue/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
- name: Get pull request details
continue-on-error: true
id: pr-details
uses: actions/github-script@v8
uses: actions/github-script@v9
env:
HEAD_REF: ${{ inputs.head-ref }}
with:
Expand Down Expand Up @@ -85,7 +85,7 @@ runs:
- name: Check if pull request is up-to-date with base branch
continue-on-error: true
id: up-to-date
uses: actions/github-script@v8
uses: actions/github-script@v9
env:
BASE_REF: ${{ inputs.base-ref }}
PR_BRANCH: ${{ steps.pr-details.outputs.pr-branch }}
Expand Down
90 changes: 0 additions & 90 deletions .github/actions/checkout-and-setup/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/actions/configure-keystore/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ runs:
echo "AWS_SIGNING_CERT_SECRET_NAME=$SECRET_NAME" >> "$GITHUB_ENV"

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37
with:
role-to-assume: ${{ inputs.aws-role-to-assume }}
aws-region: ${{ inputs.aws-region }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/create-release-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ runs:

# Step 3: Setup environment
- 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

Expand Down Expand Up @@ -151,7 +151,7 @@ runs:
# Step 6: Upload commits.csv as artifact (if generated)
- name: Upload commits.csv artifact
if: ${{ hashFiles('commits.csv') != '' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: commits-csv
path: commits.csv
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/feature-flag-drift-slack-noti/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:
} >> "$GITHUB_OUTPUT"

- name: Send Slack notification
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95
with:
webhook: ${{ inputs.slack-webhook }}
webhook-type: incoming-webhook
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/get-release-timelines/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:
run: ./github-tools/.github/scripts/get-release-timelines.sh

- name: Upload artifact release-timelines-${{ inputs.version }}.csv
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: release-timelines-${{ inputs.version }}.csv
path: release-timelines-${{ inputs.version }}.csv
8 changes: 4 additions & 4 deletions .github/actions/merge-approved-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ runs:

# Fetch PR metadata (head and base branches) using the GitHub API
- name: Get PR Details
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
PR_NUMBER: ${{ inputs.pr-number }}
with:
Expand Down Expand Up @@ -97,7 +97,7 @@ runs:
# Check if the PR has the required approval status
- name: Verify Approval
if: steps.verify-branches.outputs.should_skip != 'true'
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
PR_NUMBER: ${{ inputs.pr-number }}
with:
Expand Down Expand Up @@ -164,7 +164,7 @@ runs:
# - the version change is a valid semver bump
- name: Verify a version bump
if: ${{ steps.verify-branches.outputs.should_skip != 'true' && inputs.verify-version-bump == 'true' }}
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
PR_NUMBER: ${{ inputs.pr-number }}
with:
Expand Down Expand Up @@ -250,7 +250,7 @@ runs:
# Execute the merge if all checks pass
- name: Merge PR
if: steps.verify-branches.outputs.should_skip != 'true'
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
PR_NUMBER: ${{ inputs.pr-number }}
MERGE_METHOD: ${{ inputs.merge-method }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/post-gh-rca/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
using: composite
steps:
- name: Post RCA Form Link
uses: actions/github-script@v8
uses: actions/github-script@v9
env:
GOOGLE_FORM_BASE_URL: ${{ inputs.google-form-base-url }}
ISSUE_LABELS: ${{ inputs.issue-labels }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/pr-line-check/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ runs:
} >> "$GITHUB_OUTPUT"

- name: Check line count limit
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
LINES_CHANGED: ${{ steps.line-count.outputs.lines-changed }}
ADDITIONS: ${{ steps.line-count.outputs.additions }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-e2e-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ runs:
command: ${{ steps.get-corepack-command.outputs.COREPACK_COMMAND }}

- name: Restore Yarn cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
node_modules
Expand Down Expand Up @@ -268,7 +268,7 @@ runs:
# Restore cached Ruby gems
- name: Restore Bundler cache
if: ${{ inputs.platform == 'ios' }}
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ios/vendor/bundle
key: ${{ inputs.cache-prefix }}-bundler-${{ inputs.platform }}-${{ runner.os }}-${{ hashFiles('ios/Gemfile.lock') }}
Expand Down Expand Up @@ -330,7 +330,7 @@ runs:
- name: Restore CocoaPods specs cache
if: ${{ inputs.platform == 'ios' }}
id: cocoapods-specs-cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.cocoapods/repos
key: ${{ runner.os }}-cocoapods-specs-${{ hashFiles('ios/Podfile.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/stable-sync/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:

- name: Check if PR exists
id: check-pr
uses: actions/github-script@v7
uses: actions/github-script@v9
with:
script: |
const { data: prs } = await github.rest.pulls.list({
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/update-release-changelog/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ runs:
ref: ${{ inputs.github-tools-ref }}
path: ./github-tools

# Step 3: Setup environment from github-tools
# Step 3: Setup environment
- name: Checkout and setup environment
uses: ./github-tools/.github/actions/checkout-and-setup
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: true

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/upload-s3/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ runs:
using: composite
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
uses: aws-actions/configure-aws-credentials@ec61189d14ec14c8efccab744f656cffd0e33f37
with:
aws-region: ${{ inputs.aws-region }}
role-to-assume: ${{ inputs.role-to-assume }}
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout and setup environment
uses: ./.github/actions/checkout-and-setup
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false

Expand All @@ -34,11 +31,8 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Checkout and setup environment
uses: ./.github/actions/checkout-and-setup
uses: MetaMask/action-checkout-and-setup@v3
with:
is-high-risk-environment: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-pr-feature-flag-registry-drift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ jobs:
token: ${{ secrets.github-token }}

- name: Download registry artifact
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: ${{ inputs.registry-artifact-name }}
path: ${{ inputs.registry-artifact-name }}

- name: Download report artifact
uses: actions/download-artifact@v7
uses: actions/download-artifact@v8
with:
name: ${{ inputs.report-artifact-name }}
path: ${{ inputs.report-artifact-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pull-requests: write
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

Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Download actionlint
id: download-actionlint
Expand All @@ -19,7 +19,6 @@ jobs:
- name: Lint workflow files
env:
EXECUTABLE: ${{ steps.download-actionlint.outputs.executable }}
# We need to ignore the expected missing inputs in test-checkout-and-setup.yml
run: |
"$EXECUTABLE" -color
shell: bash
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,12 @@ jobs:
name: Build, lint, and test
uses: ./.github/workflows/build-lint-test.yml

test-checkout-and-setup:
name: Test checkout-and-setup
uses: ./.github/workflows/test-checkout-and-setup.yml

all-jobs-completed:
name: All jobs completed
runs-on: ubuntu-latest
needs:
- lint-workflows
- build-lint-test
- test-checkout-and-setup
outputs:
PASSED: ${{ steps.set-output.outputs.PASSED }}
steps:
Expand Down Expand Up @@ -59,7 +54,7 @@ jobs:
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
runs-on: ubuntu-latest
steps:
- uses: MetaMask/action-is-release@v1
- uses: MetaMask/action-is-release@v2
id: is-release

publish-release:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/post-relay-subsidy-balance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
} >> "$GITHUB_OUTPUT"

- name: Send Slack notification
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95
with:
webhook: '${{ secrets.SLACK_RELAY_SUBSIDY_BALANCE_TRACKER_WEBHOOK_URL }}'
webhook-type: incoming-webhook
Expand Down
Loading