Skip to content

Commit

Permalink
build(workflow): change runner groups
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed May 28, 2024
1 parent 45e3bfd commit ca0c533
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/commands-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:
tests:
name: Integration and Unit tests
runs-on:
group: Default Larger Runners
labels: ubuntu-latest-m
group: Default
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -41,10 +40,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]
runs-on:
group: Default
steps:
- name: Tests summary
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"
8 changes: 3 additions & 5 deletions .github/workflows/run-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit ca0c533

Please sign in to comment.