From 685fe369145b92f1a951dc495fe9b530df313cbb Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Wed, 29 May 2024 00:52:55 +0300 Subject: [PATCH] build(workflow): change runner groups --- .github/workflows/commands-handler.yml | 3 +-- .github/workflows/release.yml | 10 ++++------ .github/workflows/run-tests.yml | 11 ++++------- .github/workflows/run-validations.yml | 8 +++----- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/.github/workflows/commands-handler.yml b/.github/workflows/commands-handler.yml index e2262dd23..48f71d24a 100644 --- a/.github/workflows/commands-handler.yml +++ b/.github/workflows/commands-handler.yml @@ -12,8 +12,7 @@ jobs: name: Process command if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - name: Check referred user id: user-check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 215681e00..a7a986f87 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,9 @@ on: jobs: check-release: name: Check release required - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true + runs-on: + group: Default outputs: release: ${{ steps.check.outputs.ready }} steps: @@ -29,11 +28,10 @@ jobs: token: ${{ secrets.GH_TOKEN }} publish: name: Publish package - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: check-release if: needs.check-release.outputs.release == 'true' + runs-on: + group: Default steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 88e362eb8..f58d8d601 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,8 +14,7 @@ jobs: tests: name: Integration and Unit tests runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default env: SUB_KEY: ${{ secrets.SDK_SUB_KEY }} PUB_KEY: ${{ secrets.SDK_PUB_KEY }} @@ -44,8 +43,7 @@ jobs: acceptance-tests: name: Acceptance tests runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default env: pubKey: somePubKey subKey: someSubKey @@ -97,10 +95,9 @@ jobs: uses: ./.github/.release/actions/actions/utils/fast-jobs-failure all-tests: name: Tests - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: [tests, acceptance-tests] + runs-on: + group: Default steps: - name: Tests summary run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed" diff --git a/.github/workflows/run-validations.yml b/.github/workflows/run-validations.yml index ec266b32e..3a8adc16f 100644 --- a/.github/workflows/run-validations.yml +++ b/.github/workflows/run-validations.yml @@ -14,8 +14,7 @@ jobs: pubnub-yml: name: "Validate .pubnub.yml" runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - name: Checkout project uses: actions/checkout@v4 @@ -35,10 +34,9 @@ jobs: uses: ./.github/.release/actions/actions/utils/fast-jobs-failure all-validations: name: Validations - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: [pubnub-yml] + runs-on: + group: Default steps: - name: Validations summary run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed"