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 3516176 commit aab3643Copy full SHA for aab3643
dist/index.js
@@ -14518,6 +14518,9 @@ function getInputs() {
14518
result.ref = `refs/heads/${result.ref}`;
14519
}
14520
14521
+ if (result.isGist && !result.ref && !result.commit) {
14522
+ result.ref = 'refs/heads/master';
14523
+ }
14524
14525
// SHA?
14526
else if (result.ref.match(/^[0-9a-fA-F]{40}$/)) {
src/input-helper.ts
@@ -76,6 +76,10 @@ export function getInputs(): IGitSourceSettings {
76
result.ref = `refs/heads/${result.ref}`
77
78
79
+
80
81
+ result.ref = 'refs/heads/master'
82
83
84
85
0 commit comments