Skip to content

Commit 4cd9dc5

Browse files
committed
ci: 将 GitHub Actions 的 runner 从 ubuntu-latest 改为 ubuntu-slim
1 parent b3225e9 commit 4cd9dc5

12 files changed

Lines changed: 22 additions & 23 deletions

.github/_workflows/issue-stale-close.temp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#jobs:
1010
# close-issues:
11-
# runs-on: ubuntu-latest
11+
# runs-on: ubuntu-slim
1212
# permissions:
1313
# issues: write
1414
# pull-requests: write
@@ -25,4 +25,4 @@
2525
# days-before-pr-close: 10
2626
# repo-token: ${{ secrets.GITHUB_TOKEN }}
2727
# exempt-issue-labels: 'WIP'
28-
# exempt-pr-labels: 'WIP'
28+
# exempt-pr-labels: 'WIP'

.github/workflows/auto-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
generator:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-slim
1515
if: >
1616
github.event_name == 'pull_request' &&
1717
github.event.pull_request.merged == false &&
@@ -37,7 +37,7 @@ jobs:
3737
body: |
3838
${{ steps.changelog.outputs.changelog }}
3939
comment_add_log:
40-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-slim
4141
if: >
4242
github.event_name == 'issue_comment'
4343
&& github.event.issue.pull_request
@@ -73,7 +73,7 @@ jobs:
7373
git push
7474
echo "💾 pushed changelog's changes"
7575
merge_tag:
76-
runs-on: ubuntu-latest
76+
runs-on: ubuntu-slim
7777
if: >
7878
github.event_name == 'pull_request' &&
7979
github.event.pull_request.merged == true &&

.github/workflows/autofix.yml

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

1717
jobs:
1818
autofix:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
steps:
2121
- uses: actions/checkout@v6
2222

.github/workflows/issue-assignees.temp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77

88
jobs:
99
mark-duplicate:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
steps:
1212
- uses: wow-actions/auto-comment@v1
1313
with:
1414
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1515
issuesOpened: |
1616
👋 @{{ author }},感谢给 TDesign 提出了 issue。
17-
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
17+
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

.github/workflows/issue-help-wanted.temp.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
add-comment:
99
if: github.event.label.name == 'help wanted'
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
permissions:
1212
issues: write
1313
steps:
@@ -19,4 +19,4 @@ jobs:
1919
任何人都可以处理此问题。
2020
**请务必在您的 `pull request` 中引用此问题。** :sparkles:
2121
感谢你的贡献! :sparkles:
22-
reactions: heart
22+
reactions: heart

.github/workflows/issue-mark-duplicate.temp.yml

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

99
jobs:
1010
mark-duplicate:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-slim
1212
steps:
1313
- name: mark-duplicate
1414
uses: actions-cool/issues-helper@v2

.github/workflows/issue-reply.temp.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99

1010
jobs:
1111
issue-reply:
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-slim
1313
steps:
1414
- name: Need Reproduce
1515
if: github.event.label.name == 'Need Reproduce'
1616
uses: actions-cool/issues-helper@v2
1717
with:
18-
actions: 'create-comment'
18+
actions: "create-comment"
1919
issue-number: ${{ github.event.issue.number }}
20-
body: |
20+
body: |
2121
你好 @${{ github.event.issue.user.login }}, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 [此处](https://codesandbox.io/) 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

.github/workflows/pr-spelling.template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [pull_request]
44
jobs:
55
run:
66
name: Spell Check with Typos
7-
runs-on: ubuntu-latest
7+
runs-on: ubuntu-slim
88
steps:
99
- uses: actions/checkout@v4
1010
- name: Check spelling

.github/workflows/preview-build.yml

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

88
jobs:
99
tdesign-flutter-site:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-slim
1111
# Skip workflow if commit message contains [skip ci] or [ci skip]
1212
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
1313
permissions:

.github/workflows/preview-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
preview-success-web:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-slim
1414
if: >
1515
github.event.workflow_run.event == 'pull_request' &&
1616
github.event.workflow_run.conclusion == 'success'
@@ -100,7 +100,7 @@ jobs:
100100
body-include: "<!-- AUTO_PREVIEW_HOOK -->"
101101

102102
preview-failed:
103-
runs-on: ubuntu-latest
103+
runs-on: ubuntu-slim
104104
if: >
105105
github.event.workflow_run.event == 'pull_request' &&
106106
github.event.workflow_run.conclusion == 'failure'

0 commit comments

Comments
 (0)