aboutsummaryrefslogtreecommitdiffstats
path: root/services/actions
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.com>2024-09-09 22:23:07 -0400
committerGitHub <noreply@github.com>2024-09-10 02:23:07 +0000
commitd9a7748cdc3f13392acbde87edd18602b566c216 (patch)
tree0f7191740e0335ccf61f12bb94d40ea36b7b0ed7 /services/actions
parent1620e3f03bad1feb22c8e9c3c9baf4da04aaefe5 (diff)
downloadgitea-d9a7748cdc3f13392acbde87edd18602b566c216.tar.gz
gitea-d9a7748cdc3f13392acbde87edd18602b566c216.zip
bump to go 1.23 (#31855)
Diffstat (limited to 'services/actions')
-rw-r--r--services/actions/notifier_helper.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/actions/notifier_helper.go b/services/actions/notifier_helper.go
index 0030ef9a91..b21d889d03 100644
--- a/services/actions/notifier_helper.go
+++ b/services/actions/notifier_helper.go
@@ -43,7 +43,8 @@ func withMethod(ctx context.Context, method string) context.Context {
return ctx
}
}
- return context.WithValue(ctx, methodCtxKey, method)
+ // FIXME: review the use of this nolint directive
+ return context.WithValue(ctx, methodCtxKey, method) //nolint:staticcheck
}
// getMethod gets the notification method that this context currently executes.