Skip to content

Commit 4bd2c3f

Browse files
authored
Merge pull request #5040 from alanorth/cheaper-runners
Use ubuntu-slim on simple GitHub actions
2 parents df6cb45 + a163d1f commit 4bd2c3f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/codescan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
jobs:
2626
analyze:
2727
name: Analyze Code
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-slim
2929
# Limit permissions of this GitHub action. Can only write to security-events
3030
permissions:
3131
actions: read

.github/workflows/issue_opened.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
permissions: {}
99
jobs:
1010
automation:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-slim
1212
steps:
1313
# Add the new issue to a project board, if it needs triage
1414
# See https://github.com/actions/add-to-project

.github/workflows/label_merge_conflicts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
triage:
1919
# Ensure this job never runs on forked repos. It's only executed for 'dspace/dspace-angular'
2020
if: github.repository == 'dspace/dspace-angular'
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-slim
2222
permissions:
2323
pull-requests: write
2424
steps:
@@ -36,4 +36,4 @@ jobs:
3636
conflict_comment: |
3737
Hi @${author},
3838
Conflicts have been detected against the base branch.
39-
Please [resolve these conflicts](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts) as soon as you can. Thanks!
39+
Please [resolve these conflicts](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts) as soon as you can. Thanks!

.github/workflows/port_merged_pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ permissions:
1818

1919
jobs:
2020
port_pr:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-slim
2222
# Don't run on closed *unmerged* pull requests
2323
if: github.event.pull_request.merged
2424
steps:
@@ -43,4 +43,4 @@ jobs:
4343
merge_commits: 'skip'
4444
# Use a personal access token (PAT) to create PR as 'dspace-bot' user.
4545
# A PAT is required in order for the new PR to trigger its own actions (for CI checks)
46-
github_token: ${{ secrets.PR_PORT_TOKEN }}
46+
github_token: ${{ secrets.PR_PORT_TOKEN }}

.github/workflows/pull_request_opened.yml

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

1717
jobs:
1818
automation:
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-slim
2020
steps:
2121
# Assign the PR to whomever created it. This is useful for visualizing assignments on project boards
2222
# See https://github.com/toshimaru/auto-author-assign

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
stale:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-slim
1818
steps:
1919
- uses: actions/stale@v10
2020
with:
@@ -69,4 +69,4 @@ jobs:
6969
close-pr-message: |
7070
This pull request has been closed automatically. If these changes are still relevant
7171
then please re-open this pull request with a comment and rebase your PR based on the latest
72-
DSpace code. This will notify us to assign a reviewer to your PR.
72+
DSpace code. This will notify us to assign a reviewer to your PR.

0 commit comments

Comments
 (0)