Skip to content

Commit 4e9a6f5

Browse files
committed
[INFRA] Update runners
And do not run workflows on forks
1 parent fed8c86 commit 4e9a6f5

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

.github/workflows/ci_license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ defaults:
2727
jobs:
2828
check:
2929
name: REUSE Compliance
30-
runs-on: ubuntu-22.04
30+
runs-on: ubuntu-latest
3131
timeout-minutes: 120
3232
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch' || github.event.label.name == 'lint'
3333
steps:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
group: lint-${{ github.event.pull_request.number }}
3636
cancel-in-progress: true
3737
needs: cancel_running_workflows
38-
runs-on: ubuntu-22.04
38+
runs-on: ubuntu-latest
3939
timeout-minutes: 15
4040
steps:
4141
- name: Run lint

.github/workflows/readme_snippet.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
push:
99
branches:
1010
- 'main'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: readme-snippet-${{ github.ref }}
15+
cancel-in-progress: true
1116

1217
env:
1318
TZ: Europe/Berlin
@@ -19,11 +24,9 @@ defaults:
1924
jobs:
2025
readme-snippet:
2126
name: Update README
22-
concurrency:
23-
group: readme-snippet-${{ github.ref }}
24-
cancel-in-progress: false
25-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-latest
2628
timeout-minutes: 15
29+
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch'
2730
steps:
2831
- name: Checkout Sharg
2932
uses: actions/checkout@v4

.github/workflows/update_cookbook.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,17 @@
22
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
33
# SPDX-License-Identifier: CC0-1.0
44

5-
name: Sharg lint
5+
name: Sharg Cookbook
66

77
on:
88
push:
99
branches:
1010
- 'main'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: update-cookbook-${{ github.ref }}
15+
cancel-in-progress: true
1116

1217
env:
1318
TZ: Europe/Berlin
@@ -19,11 +24,9 @@ defaults:
1924
jobs:
2025
update-cookbook:
2126
name: Update Cookbook
22-
concurrency:
23-
group: update-cookbook-${{ github.ref }}
24-
cancel-in-progress: true
25-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-latest
2628
timeout-minutes: 15
29+
if: github.repository_owner == 'seqan' || github.event_name == 'workflow_dispatch'
2730
steps:
2831
- name: Checkout Sharg
2932
uses: actions/checkout@v4

0 commit comments

Comments
 (0)