Skip to content

Commit 93fa35a

Browse files
check github/codeql-action releases/v4 branch explicitly
Signed-off-by: Spencer Schrock <[email protected]>
1 parent b429cd6 commit 93fa35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/server/verify_workflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func (g *githubVerifier) contains(owner, repo, hash string) (bool, error) {
271271
// github/codeql-action has commits from their release branches that don't show up in the default branch
272272
// this isn't the best approach for now, but theres no universal "does this commit belong to this repo" call
273273
case owner == "github" && repo == "codeql-action":
274-
releaseBranches := []string{"releases/v3", "releases/v2", "releases/v1"}
274+
releaseBranches := []string{"releases/v4", "releases/v3", "releases/v2", "releases/v1"}
275275
for _, branch := range releaseBranches {
276276
contains, err = g.branchContains(branch, owner, repo, hash)
277277
if err != nil {

0 commit comments

Comments
 (0)