Skip to content

Commit c0ef479

Browse files
committed
Merge branch 'main' into michalbaumgartner/blu-5086-skip-cd-pipelines-on-depandabot-prs
2 parents 0ffc555 + 1b4d41d commit c0ef479

File tree

3 files changed

+23
-19
lines changed

3 files changed

+23
-19
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
jobs:
3030
build-and-push-artifacts:
3131
name: Build and push artifacts for Python ${{ matrix.python_version }}
32-
runs-on: ubicloud-standard-2
32+
runs-on: ubuntu-latest
3333
# Only run for base repo, not forks or dependabot
3434
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && github.actor != 'dependabot[bot]'
3535
strategy:
@@ -120,7 +120,7 @@ jobs:
120120

121121
build-and-push-artifacts-status:
122122
name: All artifacts pushed
123-
runs-on: ubicloud-standard-2
123+
runs-on: ubuntu-latest
124124
needs: build-and-push-artifacts
125125
# Only run if the build job ran (i.e., not for forks or dependabot)
126126
if: always() && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && github.actor != 'dependabot[bot]'
@@ -143,7 +143,7 @@ jobs:
143143
144144
publish-python-package:
145145
name: Publish Python package
146-
runs-on: ubicloud-standard-2
146+
runs-on: ubuntu-latest
147147
# Only run for base repo, not forks or dependabot
148148
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && github.actor != 'dependabot[bot]'
149149
outputs:
@@ -282,7 +282,7 @@ jobs:
282282

283283
publish-to-pypi:
284284
name: Publish to PyPI
285-
runs-on: ubicloud-standard-2
285+
runs-on: ubuntu-latest
286286
needs: publish-python-package
287287
# Only run for base repo when a new tag is created, not for dependabot
288288
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && startsWith(github.ref, 'refs/tags/') && github.actor != 'dependabot[bot]'
@@ -306,7 +306,7 @@ jobs:
306306

307307
deploy-review-app:
308308
name: Deploy review app
309-
runs-on: ubicloud-standard-2
309+
runs-on: ubuntu-latest
310310
needs: build-and-push-artifacts-status
311311
# Only run for base repo PRs, not forks or dependabot
312312
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
@@ -351,7 +351,7 @@ jobs:
351351
352352
jupyter-for-local:
353353
name: Jupyter for local
354-
runs-on: ubicloud-standard-2
354+
runs-on: ubuntu-latest
355355
needs: build-and-push-artifacts-status
356356
# Only run for base repo, not forks or dependabot
357357
if: (github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request') && github.actor != 'dependabot[bot]'
@@ -409,7 +409,7 @@ jobs:
409409
410410
build-toolkit-cluster-cache:
411411
name: Build toolkit cluster cache
412-
runs-on: ubicloud-standard-2
412+
runs-on: ubuntu-latest
413413
needs: build-and-push-artifacts-status
414414
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
415415
env:
@@ -450,7 +450,7 @@ jobs:
450450
451451
release-staging:
452452
name: Release staging
453-
runs-on: ubicloud-standard-2
453+
runs-on: ubuntu-latest
454454
needs: build-toolkit-cluster-cache
455455
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
456456
steps:
@@ -491,7 +491,7 @@ jobs:
491491

492492
release-production:
493493
name: Release production
494-
runs-on: ubicloud-standard-2
494+
runs-on: ubuntu-latest
495495
needs: build-toolkit-cluster-cache
496496
if: startsWith(github.ref, 'refs/tags/')
497497
steps:

.github/workflows/ci.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
jobs:
2323
spell-check:
2424
name: Spell Check
25-
runs-on: ubicloud-standard-2
25+
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2828
with:
@@ -60,7 +60,7 @@ jobs:
6060

6161
format:
6262
name: Format
63-
runs-on: ubicloud-standard-2
63+
runs-on: ubuntu-latest
6464
steps:
6565
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
6666
with:
@@ -102,7 +102,7 @@ jobs:
102102
license-check:
103103
name: License Check
104104
# This only checks production dependencies inclusive of the dev deps that are actually prod deps (see pyproject.toml).
105-
runs-on: ubicloud-standard-2
105+
runs-on: ubuntu-latest
106106
steps:
107107
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
108108
with:
@@ -158,7 +158,7 @@ jobs:
158158
159159
mypy:
160160
name: Typecheck - ${{ matrix.python-version }}
161-
runs-on: ubicloud-standard-2
161+
runs-on: ubuntu-latest
162162
strategy:
163163
fail-fast: false
164164
matrix:
@@ -216,9 +216,13 @@ jobs:
216216
217217
gitleaks:
218218
name: Gitleaks check
219+
<<<<<<< HEAD
219220
runs-on: ubicloud-standard-2
220221
# Only run for base repo, not forks
221222
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
223+
=======
224+
runs-on: ubuntu-latest
225+
>>>>>>> main
222226
steps:
223227
- name: Checkout code
224228
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
@@ -234,7 +238,7 @@ jobs:
234238

235239
semgrep:
236240
name: Static Analysis
237-
runs-on: ubicloud-standard-2
241+
runs-on: ubuntu-latest
238242
timeout-minutes: 3
239243

240244
env:
@@ -259,7 +263,7 @@ jobs:
259263

260264
qlty:
261265
name: Qlty Check
262-
runs-on: ubicloud-standard-2
266+
runs-on: ubuntu-latest
263267
timeout-minutes: 3
264268

265269
steps:
@@ -279,7 +283,7 @@ jobs:
279283

280284
tests-unit:
281285
name: Test - Python ${{ matrix.python-version }}
282-
runs-on: ubicloud-standard-2
286+
runs-on: ubuntu-latest
283287
strategy:
284288
fail-fast: false
285289
matrix:
@@ -395,7 +399,7 @@ jobs:
395399
poetry run coverage report --data-file=coverage/.coverage.${PYTHON_VERSION} --format=markdown >> $GITHUB_STEP_SUMMARY
396400
audit-prod:
397401
name: Audit - Production
398-
runs-on: ubicloud-standard-2
402+
runs-on: ubuntu-latest
399403
timeout-minutes: 3
400404
steps:
401405
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
@@ -436,7 +440,7 @@ jobs:
436440

437441
audit-all:
438442
name: Audit - All
439-
runs-on: ubicloud-standard-2
443+
runs-on: ubuntu-latest
440444
timeout-minutes: 3
441445
steps:
442446
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4

.github/workflows/clean-up-review-app-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
close-app-config-pr:
99
name: Close corresponding PR in app-config repo
10-
runs-on: ubicloud-standard-2
10+
runs-on: ubuntu-latest
1111
# Only run for internal PRs (not from forks)
1212
if: github.event.pull_request.head.repo.full_name == github.repository
1313
steps:

0 commit comments

Comments
 (0)