Skip to content

Commit bfeebf5

Browse files
committed
Apply ubuntu-slim migration to this repository
Migrate lightweight workflow jobs to use the cost-effective ubuntu-slim runner as per the updated templates. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent f4cd2a0 commit bfeebf5

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/auto-dependabot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
jobs:
1111
auto-merge:
1212
if: github.actor == 'dependabot[bot]'
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
steps:
1515
- name: Auto-merge Dependabot PR
1616
uses: frequenz-floss/dependabot-auto-approve@3cad5f42e79296505473325ac6636be897c8b8a1 # v1.3.2

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
needs: ["nox"]
6161
# We skip this job only if nox was also skipped
6262
if: always() && needs.nox.result != 'skipped'
63-
runs-on: ubuntu-24.04
63+
runs-on: ubuntu-slim
6464
env:
6565
DEPS_RESULT: ${{ needs.nox.result }}
6666
steps:
@@ -161,7 +161,7 @@ jobs:
161161
needs: ["test-installation"]
162162
# We skip this job only if test-installation was also skipped
163163
if: always() && needs.test-installation.result != 'skipped'
164-
runs-on: ubuntu-24.04
164+
runs-on: ubuntu-slim
165165
env:
166166
DEPS_RESULT: ${{ needs.test-installation.result }}
167167
steps:
@@ -276,7 +276,7 @@ jobs:
276276
# discussions to create the release announcement in the discussion forums
277277
contents: write
278278
discussions: write
279-
runs-on: ubuntu-24.04
279+
runs-on: ubuntu-slim
280280
steps:
281281
- name: Download distribution files
282282
uses: actions/download-artifact@v6
@@ -318,7 +318,7 @@ jobs:
318318
publish-to-pypi:
319319
name: Publish packages to PyPI
320320
needs: ["create-github-release"]
321-
runs-on: ubuntu-24.04
321+
runs-on: ubuntu-slim
322322
permissions:
323323
# For trusted publishing. See:
324324
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/

.github/workflows/dco-merge-queue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
DCO:
8-
runs-on: ubuntu-latest
8+
runs-on: ubuntu-slim
99
if: ${{ github.actor != 'dependabot[bot]' }}
1010
steps:
1111
- run: echo "This DCO job runs on merge_queue event and doesn't check PR contents"

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
permissions:
88
contents: read
99
pull-requests: write
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
steps:
1212
- name: Labeler
1313
# XXX: !!! SECURITY WARNING !!!

.github/workflows/release-notes-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
check-release-notes:
1818
name: Check release notes are updated
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
permissions:
2121
pull-requests: read
2222
steps:

0 commit comments

Comments
 (0)