summaryrefslogtreecommitdiffstats
path: root/pkg/common
diff options
context:
space:
mode:
authorCasey Lee <cplee@nektos.com>2023-07-11 02:12:12 +0200
committerGitHub <noreply@github.com>2023-07-11 02:12:12 +0200
commit724ec918c92c162e537ba879e6d1ccc997f63483 (patch)
tree0d00d712f92258ed0c6fbf5a4ca45ab9489784b6 /pkg/common
parentbuild(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (#1868) (diff)
downloadforgejo-act-724ec918c92c162e537ba879e6d1ccc997f63483.tar.xz
forgejo-act-724ec918c92c162e537ba879e6d1ccc997f63483.zip
chore: upgrade golangci-lint and address findings (#1904)
Diffstat (limited to 'pkg/common')
-rw-r--r--pkg/common/git/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/common/git/git.go b/pkg/common/git/git.go
index 954c2cc..bf77155 100644
--- a/pkg/common/git/git.go
+++ b/pkg/common/git/git.go
@@ -174,7 +174,7 @@ func FindGithubRepo(ctx context.Context, file, githubInstance, remoteName string
return slug, err
}
-func findGitRemoteURL(ctx context.Context, file, remoteName string) (string, error) {
+func findGitRemoteURL(_ context.Context, file, remoteName string) (string, error) {
repo, err := git.PlainOpenWithOptions(
file,
&git.PlainOpenOptions{