Skip to content

Commit 4c0e5d5

Browse files
Copilotpelikhan
andcommitted
Fix test file GetActionPin calls
Update action_sha_validation_test.go to pass nil as second parameter Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent caa479a commit 4c0e5d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/workflow/action_sha_validation_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ Create issues based on input.
116116

117117
// Test specific actions that should be pinned
118118
expectedActions := map[string]string{
119-
"actions/checkout": GetActionPin("actions/checkout"),
120-
"actions/github-script": GetActionPin("actions/github-script"),
121-
"actions/upload-artifact": GetActionPin("actions/upload-artifact"),
119+
"actions/checkout": GetActionPin("actions/checkout", nil),
120+
"actions/github-script": GetActionPin("actions/github-script", nil),
121+
"actions/upload-artifact": GetActionPin("actions/upload-artifact", nil),
122122
}
123123

124124
for actionRepo, expectedRef := range expectedActions {

0 commit comments

Comments
 (0)