We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69ac85 commit 798e70cCopy full SHA for 798e70c
dist/index.js
@@ -570,7 +570,7 @@ function run() {
570
const workflowRef = core.getInput('workflow');
571
// Optional inputs, with defaults
572
const token = core.getInput('token');
573
- const ref = core.getInput('ref');
+ const ref = core.getInput('ref') || github.context.ref;
574
const [owner, repo] = core.getInput('repo')
575
? core.getInput('repo').split('/')
576
: [github.context.repo.owner, github.context.repo.repo];
0 commit comments