From 326d5c4d2c381ab8c8fd670d5a1ddec7c7529760 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Fri, 7 Jul 2023 23:03:48 +0300 Subject: [PATCH] build: add custom GHA large runner --- .github/workflows/commands-handler.yml | 4 +++- .github/workflows/on-pull-request-create.yml | 4 +++- .github/workflows/release.yml | 8 ++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commands-handler.yml b/.github/workflows/commands-handler.yml index d7a0bed..3ccb9d1 100644 --- a/.github/workflows/commands-handler.yml +++ b/.github/workflows/commands-handler.yml @@ -11,7 +11,9 @@ jobs: process: name: Process command if: ${{ github.event.issue.pull_request && endsWith(github.repository, '-private') != true - runs-on: ubuntu-latest + runs-on: + group: Default Larger Runners + labels: ubuntu-latest-m steps: - name: Check referred user id: user-check diff --git a/.github/workflows/on-pull-request-create.yml b/.github/workflows/on-pull-request-create.yml index 719e84e..0185d0f 100644 --- a/.github/workflows/on-pull-request-create.yml +++ b/.github/workflows/on-pull-request-create.yml @@ -9,7 +9,9 @@ on: jobs: process-new-pr: name: Handle new pull request - runs-on: ubuntu-latest + runs-on: + group: Default Larger Runners + labels: ubuntu-latest-m steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4025785..493edc1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,9 @@ on: jobs: check-release: name: Check release required - runs-on: ubuntu-latest + runs-on: + group: Default Larger Runners + labels: ubuntu-latest-m if: ${{ github.event.pull_request.merged && endsWith(github.repository, '-private') != true }} outputs: release: ${{ steps.check.outputs.ready }} @@ -28,7 +30,9 @@ jobs: token: ${{ secrets.GH_TOKEN }} publish: name: Publish package - runs-on: ubuntu-latest + runs-on: + group: Default Larger Runners + labels: ubuntu-latest-m needs: check-release if: ${{ needs.check-release.outputs.release == 'true' }} steps: