Skip to content

Commit f7ad587

Browse files
committed
ci: switch some workflows to ubuntu-slim
1 parent e7aec51 commit f7ad587

10 files changed

Lines changed: 12 additions & 12 deletions

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
publish-test-results:
7171
name: 📊 Publish Test Results
72-
runs-on: ubuntu-latest
72+
runs-on: ubuntu-slim
7373
permissions:
7474
checks: write # is needed by EnricoMi/publish-unit-test-result-action to add a check run with test results
7575
pull-requests: write # is needed by EnricoMi/publish-unit-test-result-action to annotate PRs

.github/workflows/image-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: {}
1111
jobs:
1212
cleanup-images:
1313
name: 🧹 Clean Images
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
permissions:
1616
packages: write # is needed by dataaxiom/ghcr-cleanup-action to delete untagged and orphaned images
1717
steps:

.github/workflows/issue-cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: {}
1010
jobs:
1111
close-issues:
1212
name: ♻️ Close Stale Issues & PRs
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
permissions:
1515
issues: write # is needed by actions/stale to close/comment on issues
1616
pull-requests: write # is needed by actions/stale to close/comment on PRs

.github/workflows/issue-creation-tool-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: {}
1111
jobs:
1212
create-issue:
1313
name: Create tool version evaluation issue
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
permissions:
1616
contents: read # is needed to checkout the repository
1717
issues: write # is needed by gh cli to create/close/pin/unpin issues

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions: {}
1414
jobs:
1515
ossf-scorecard:
1616
name: 🛡️ OpenSSF Scorecard
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-slim
1818
permissions:
1919
contents: read
2020
security-events: write # is needed by github/codeql-action/upload-sarif to upload sarif files

.github/workflows/pr-conventional-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions: {}
1313
jobs:
1414
validate-pr-title:
1515
name: ✅ Validate PR Title
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-slim
1717
permissions:
1818
pull-requests: write # is needed by marocchino/sticky-pull-request-comment to post comments on PRs
1919
steps:

.github/workflows/pr-image-cleanup.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: {}
1010
jobs:
1111
delete-images:
1212
name: 🗑️ Delete PR Images
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
permissions:
1515
packages: write # is needed by dataaxiom/ghcr-cleanup-action to delete images
1616
steps:
@@ -21,11 +21,11 @@ jobs:
2121
- uses: dataaxiom/ghcr-cleanup-action@cd0cdb900b5dbf3a6f2cc869f0dbb0b8211f50c4 # v1.0.16
2222
with:
2323
delete-tags: pr-${{ github.event.pull_request.number }}
24-
packages: amp-devcontainer,amp-devcontainer-cpp,amp-devcontainer-rust
24+
packages: amp-devcontainer,amp-devcontainer-base,amp-devcontainer-cpp,amp-devcontainer-rust
2525

2626
cleanup-cache:
2727
name: 🧹 Cleanup Cache
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-slim
2929
permissions:
3030
actions: write # is needed to delete workflow run caches
3131
steps:

.github/workflows/pr-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write # is needed by philips-software/pull-request-report-action to post the report as a comment on the PR
1717
repository-projects: read # is needed by philips-software/pull-request-report-action to fetch project information
1818
actions: read # is needed by philips-software/pull-request-report-action to fetch workflow run information
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
steps:
2121
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
2222
with:

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions: {}
1414
jobs:
1515
create-release:
1616
name: 🚀 Create Release
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-slim
1818
permissions:
1919
contents: read
2020
steps:

.github/workflows/wc-document-generation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions: {}
99
jobs:
1010
generate-documents:
1111
name: Generate Documents
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-slim
1313
permissions:
1414
contents: read
1515
steps:

0 commit comments

Comments
 (0)