Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/dist/index.js
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2020-07-14 09:23:30 -0400
committerGitHub <noreply@github.com>2020-07-14 09:23:30 -0400
commitb92a2fe2f4e41a6409f8d7fa0c3ed391f54d0c2d (patch)
treeaea51e3b15e468a3389eadf348a88b14d25ecf7f /dist/index.js
parent99e116dc55f001153e44fc8099cda879f0958f1b (diff)
update default branch (#305)
Diffstat (limited to 'dist/index.js')
-rw-r--r--dist/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/index.js b/dist/index.js
index e0d0238..ae64f3f 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -5900,7 +5900,7 @@ class GitCommandManager {
/**
* Resolves a ref to a SHA. For a branch or lightweight tag, the commit SHA is returned.
* For an annotated tag, the tag SHA is returned.
- * @param {string} ref For example: 'refs/heads/master' or '/refs/tags/v1'
+ * @param {string} ref For example: 'refs/heads/main' or '/refs/tags/v1'
* @returns {Promise<string>}
*/
revParse(ref) {
@@ -14545,7 +14545,7 @@ function getInputs() {
result.ref = github.context.ref;
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}`;
}