Skip to content

Commit fba5437

Browse files
committed
Switch light GitHub workflows to ubuntu-slim runner
Switch lightweight CI workflows to the ubuntu-slim runner to save resources. These workflows do not require significant compute and can run on the 1-vCPU slim runner. Workflows updated: - pr-gh-workflow-approve.yaml - pr-verifer.yml - pr-link-check.yaml - yamllint.yaml Note: zizmor.yml is excluded because the zizmor-action fails on ubuntu-slim (missing dependencies). Signed-off-by: Dong Ma <winterma.dong@gmail.com>
1 parent 6c364de commit fba5437

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/pr-gh-workflow-approve.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions: {}
1313
jobs:
1414
approve:
1515
name: Approve on ok-to-test
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-slim
1717

1818
permissions:
1919
actions: write

.github/workflows/pr-link-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
check-links-pr:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-slim
1616

1717
steps:
1818
- name: Clone repository

.github/workflows/pr-verifer.yml

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

88
jobs:
99
check-title:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
steps:
1212
- name: Check out repository
1313
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

.github/workflows/yamllint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
test:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-slim
1313
steps:
1414
- name: Install yamllint
1515
run: sudo apt-get update && sudo apt-get install -y yamllint

0 commit comments

Comments
 (0)