From 418886fc20fa9314f462c60f129586b4dfbb8cb8 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Mon, 30 Oct 2023 13:55:56 +0200 Subject: [PATCH] build(gha): revert used runner configuration --- .github/workflows/commands-handler.yml | 8 +++----- .github/workflows/release.yml | 8 ++------ .github/workflows/run-tests.yml | 12 ++++-------- .github/workflows/run-validations.yml | 12 ++++-------- 4 files changed, 13 insertions(+), 27 deletions(-) diff --git a/.github/workflows/commands-handler.yml b/.github/workflows/commands-handler.yml index d938d9e4b..0b5d4702b 100644 --- a/.github/workflows/commands-handler.yml +++ b/.github/workflows/commands-handler.yml @@ -11,13 +11,11 @@ jobs: process: name: Process command if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest steps: - name: Check referred user id: user-check - env: + env: CLEN_BOT: ${{ secrets.CLEN_BOT }} run: echo "expected-user=${{ startsWith(github.event.comment.body, format('@{0} ', env.CLEN_BOT)) }}" >> $GITHUB_OUTPUT - name: Regular comment @@ -42,4 +40,4 @@ jobs: with: token: ${{ secrets.GH_TOKEN }} listener: ${{ secrets.CLEN_BOT }} - jira-api-key: ${{ secrets.JIRA_API_KEY }} \ No newline at end of file + jira-api-key: ${{ secrets.JIRA_API_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6feef4806..1d2cc36ba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,9 +8,7 @@ on: jobs: check-release: name: Check release required - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true outputs: release: ${{ steps.check.outputs.ready }} @@ -29,9 +27,7 @@ jobs: token: ${{ secrets.GH_TOKEN }} publish: name: Publish package - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest needs: check-release if: needs.check-release.outputs.release == 'true' steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0ed6dc125..7e8adc3f0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -15,17 +15,15 @@ env: jobs: tests: name: Integration and Unit tests - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest strategy: fail-fast: true matrix: node: [14, 16] - env: ["ci:node"] + env: ['ci:node'] include: - node: 16 - env: "ci:web" + env: 'ci:web' steps: - name: Checkout repository uses: actions/checkout@v3 @@ -51,9 +49,7 @@ jobs: uses: ./.github/.release/actions/actions/utils/fast-jobs-failure all-tests: name: Tests - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest needs: [tests] steps: - name: Tests summary diff --git a/.github/workflows/run-validations.yml b/.github/workflows/run-validations.yml index 29a520312..7936cc669 100644 --- a/.github/workflows/run-validations.yml +++ b/.github/workflows/run-validations.yml @@ -12,10 +12,8 @@ defaults: jobs: pubnub-yml: - name: "Validate .pubnub.yml" - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + name: 'Validate .pubnub.yml' + runs-on: ubuntu-latest steps: - name: Checkout project uses: actions/checkout@v3 @@ -35,10 +33,8 @@ jobs: uses: ./.github/.release/actions/actions/utils/fast-jobs-failure all-validations: name: Validations - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + runs-on: ubuntu-latest needs: [pubnub-yml] steps: - name: Validations summary - run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed" \ No newline at end of file + run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed"