Skip to content

Commit af51616

Browse files
committed
feat: make semantic release runner configurable
1 parent d607b8c commit af51616

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/semantic-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ on:
3030
required: false
3131
default: false
3232
type: boolean
33+
runner:
34+
description: 'Runner to use for the job'
35+
required: false
36+
default: 'self-hosted'
37+
type: string
3338
outputs:
3439
commit_hash:
3540
description: 'Short commit hash'
@@ -52,7 +57,7 @@ on:
5257

5358
jobs:
5459
prepare:
55-
runs-on: [self-hosted]
60+
runs-on: ${{ inputs.runner }}
5661
permissions:
5762
contents: write
5863
packages: write

0 commit comments

Comments
 (0)