Skip to content

Commit 798e70c

Browse files
author
Automated Publisher
committed
Automated publish: Fri Nov 4 15:35:05 UTC 2022 a69ac85
1 parent a69ac85 commit 798e70c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ function run() {
570570
const workflowRef = core.getInput('workflow');
571571
// Optional inputs, with defaults
572572
const token = core.getInput('token');
573-
const ref = core.getInput('ref');
573+
const ref = core.getInput('ref') || github.context.ref;
574574
const [owner, repo] = core.getInput('repo')
575575
? core.getInput('repo').split('/')
576576
: [github.context.repo.owner, github.context.repo.repo];

0 commit comments

Comments
 (0)