From b92a2fe2f4e41a6409f8d7fa0c3ed391f54d0c2d Mon Sep 17 00:00:00 2001 From: eric sciple Date: Tue, 14 Jul 2020 09:23:30 -0400 Subject: update default branch (#305) --- src/input-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input-helper.ts') 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}` } -- cgit v1.2.3