Skip to content

Commit 5092f9b

Browse files
committed
Allow targetting branch on alpha build
1 parent bd569cf commit 5092f9b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/alpha-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
schedule:
66
- cron: '0 8 * * 1,3' # Monday, Wednesday 8am
77
workflow_dispatch:
8+
inputs:
9+
ref:
10+
description: 'Branch, tag, or commit to build from'
11+
required: false
12+
default: 'main'
813

914
jobs:
1015
create-alpha-tag:
@@ -16,7 +21,7 @@ jobs:
1621
steps:
1722
- uses: actions/checkout@v5
1823
with:
19-
ref: 'main'
24+
ref: ${{ inputs.ref || 'main' }}
2025
fetch-depth: 0
2126

2227
- name: Configure Git

0 commit comments

Comments
 (0)