We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9cbee7 commit 14a959cCopy full SHA for 14a959c
pkg/github/actions_test.go
@@ -328,7 +328,7 @@ func Test_CancelWorkflowRun(t *testing.T) {
328
Pattern: "/repos/owner/repo/actions/runs/12345/cancel",
329
Method: "POST",
330
},
331
- http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
+ http.HandlerFunc(func(w http.ResponseWriter, _ *http.Request) {
332
w.WriteHeader(http.StatusAccepted)
333
}),
334
),
@@ -348,7 +348,7 @@ func Test_CancelWorkflowRun(t *testing.T) {
348
349
350
351
352
w.WriteHeader(http.StatusConflict)
353
354
0 commit comments