File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 9
9
tags :
10
10
description : ' Previous tag'
11
11
required : true
12
+ git-ref :
13
+ description : ' Git reference to check out. Use an appropriate release-v* branch name, tag, or commit SHA.'
14
+ required : true
15
+ default : ' main'
12
16
jobs :
13
17
release :
14
- if : ${{ github.repository == 'shipwright-io/build' }}
15
18
runs-on : ubuntu-latest
16
19
permissions :
17
20
id-token : write # To be able to get OIDC ID token to sign images.
25
28
26
29
steps :
27
30
- uses : actions/checkout@v4
31
+ with :
32
+ ref : ${{ github.event.inputs.git-ref }}
28
33
- uses : ./.github/actions/setup
29
34
- uses : sigstore/cosign-installer@v3
30
35
44
49
id : draft_release
45
50
uses : actions/create-release@v1
46
51
with :
47
- release_name : " Shipwright Build release ${{ github.event.inputs.release }}"
52
+ release_name : " Shipwright Triggers release ${{ github.event.inputs.release }}"
48
53
tag_name : ${{ github.event.inputs.release }}
49
54
body_path : Changes.md
50
55
draft : true
You can’t perform that action at this time.
0 commit comments