diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2020-07-14 09:23:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-14 09:23:30 -0400 |
| commit | b92a2fe2f4e41a6409f8d7fa0c3ed391f54d0c2d (patch) | |
| tree | aea51e3b15e468a3389eadf348a88b14d25ecf7f /src/input-helper.ts | |
| parent | 99e116dc55f001153e44fc8099cda879f0958f1b (diff) | |
update default branch (#305)
Diffstat (limited to 'src/input-helper.ts')
| -rw-r--r-- | src/input-helper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input-helper.ts b/src/input-helper.ts index eabb9e0..4c05d6e 100644 --- a/src/input-helper.ts +++ b/src/input-helper.ts @@ -63,7 +63,7 @@ export function getInputs(): IGitSourceSettings { result.commit = github.context.sha // Some events have an unqualifed ref. For example when a PR is merged (pull_request closed event), - // the ref is unqualifed like "master" instead of "refs/heads/master". + // the ref is unqualifed like "main" instead of "refs/heads/main". if (result.commit && result.ref && !result.ref.startsWith('refs/')) { result.ref = `refs/heads/${result.ref}` } |
