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

CHANGED - use Consensys Self-Hosted Runners #29900

Closed
Closed
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
8 changes: 8 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
self-hosted-runner:
# Labels of self-hosted runner in array of strings.
labels:
- gha-mm-scale-set-ubuntu-22.04-amd64-med
# # Configuration variables in array of strings defined in your repository or
# # organization. `null` means disabling configuration variables check.
# # Empty array means no configuration variable is allowed.
# config-variables: null
2 changes: 1 addition & 1 deletion .github/workflows/add-release-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
add-release-label:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
if: github.event.pull_request.merged == true
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
build-beta:
name: Build beta
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-attributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
check-attributions:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
check-pr-labels:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
pull-requests: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-template-and-add-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
check-template-and-add-labels:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
CLABot:
if: github.event_name == 'pull_request_target' || contains(github.event.comment.html_url, '/pull/')
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
pull-requests: write
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
close-bug-report:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'Version-v')
steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codespaces-update-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
codespaces-update-badge:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
pull-requests: write
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codespaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
yarn-cache:
name: Generate cache image
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: create

jobs:
create-bug-report:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Extract version from branch name if release branch
id: extract_version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:

jobs:
cherry-pick:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med

steps:
- name: Checkout code
Expand All @@ -28,4 +28,4 @@ jobs:
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 }}
./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 @@ -13,7 +13,7 @@ on:

jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fitness-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

all-jobs-completed:
name: All jobs completed
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- lint-workflows
- test-lint-shellcheck
Expand All @@ -119,7 +119,7 @@ jobs:
all-jobs-pass:
name: All jobs pass
if: ${{ always() }}
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- all-jobs-completed
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
publish-prerelease:
name: Publish prerelease
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remove-labels-after-pr-closed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
cleanup:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
issues: write
pull-requests: write
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
test-unit:
name: Unit tests
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
strategy:
matrix:
shard: [1, 2, 3, 4, 5, 6]
Expand All @@ -37,7 +37,7 @@ jobs:

test-webpack:
name: Webpack tests
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -58,7 +58,7 @@ jobs:

test-integration:
name: Integration tests
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -79,7 +79,7 @@ jobs:

report-coverage:
name: Report coverage
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- test-unit
- test-webpack
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/runway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
runway:
name: Runway
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-code-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
run-security-scan:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# This will skip scanning the code for forks, but will run for the main repository on PRs from forks
if: ${{ github.event.workflow_run.conclusion == 'success' && contains(fromJSON('["push", "pull_request"]'), github.event.workflow_run.event) && !github.event.workflow_run.repository.fork }}
name: SonarCloud
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale-issues-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
stale:
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
permissions:
issues: write
pull-requests: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deps-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-deps-audit:
name: Test deps audit
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deps-depcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-deps-depcheck:
name: Test deps depcheck
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lint-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-lint-changelog:
name: Test lint changelog
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lint-lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-lint-lockfile:
name: Test lint lockfile
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lint-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-lint-shellcheck:
name: Test lint shellcheck
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-lint:
name: Test lint
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-yarn-dedupe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test-yarn-dedupe:
name: Test yarn dedupe
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/update-attributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
is-fork-pull-request:
name: Determine whether this issue comment was on a pull request from a fork
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '@metamaskbot update-attributions') }}
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
outputs:
IS_FORK: ${{ steps.is-fork.outputs.IS_FORK }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:

react-to-comment:
name: React to the comment
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs: is-fork-pull-request
# Early exit if this is a fork, since later steps are skipped for forks
if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
Expand All @@ -44,7 +44,7 @@ jobs:

prepare:
name: Prepare dependencies
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs: is-fork-pull-request
# Early exit if this is a fork, since later steps are skipped for forks
if: ${{ needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
Expand All @@ -66,7 +66,7 @@ jobs:

update-attributions:
name: Update Attributions
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- prepare
- is-fork-pull-request
Expand All @@ -92,7 +92,7 @@ jobs:

commit-updated-attributions:
name: Commit the updated Attributions
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- prepare
- is-fork-pull-request
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:

check-status:
name: Check whether the attributions update succeeded
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- commit-updated-attributions
- is-fork-pull-request
Expand All @@ -165,7 +165,7 @@ jobs:
failure-comment:
name: Comment about the attributions update failure
if: ${{ always() && needs.is-fork-pull-request.outputs.IS_FORK == 'false' }}
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- is-fork-pull-request
- check-status
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
update-coverage:
if: ${{ needs.run-tests.outputs.current-coverage > needs.run-tests.outputs.stored-coverage }}
name: Update coverage
runs-on: ubuntu-latest
runs-on: gha-mm-scale-set-ubuntu-22.04-amd64-med
needs:
- run-tests
env:
Expand Down
Loading
Loading