File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ inputs:
1515 ref :
1616 description : ' The reference can be a branch, tag, or a commit SHA'
1717 required : false
18- default : ${{ github.ref }}
1918 repo :
2019 description : ' Repo owner & name, slash separated, only set if invoking a workflow in a different repo'
2120 required : false
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async function run(): Promise<void> {
2626
2727 // Optional inputs, with defaults
2828 const token = core . getInput ( 'token' )
29- const ref = core . getInput ( 'ref' )
29+ const ref = core . getInput ( 'ref' ) || github . context . ref
3030 const [ owner , repo ] = core . getInput ( 'repo' )
3131 ? core . getInput ( 'repo' ) . split ( '/' )
3232 : [ github . context . repo . owner , github . context . repo . repo ]
You can’t perform that action at this time.
0 commit comments