Skip to content

Commit 325727e

Browse files
committed
recommend to add octokit to trusted orgs
1 parent 6bf3eb7 commit 325727e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ql/src/Security/CWE-829/UnpinnedActionsTag.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private predicate isPinnedCommit(string version) { version.regexpMatch("^[A-Fa-f
1818

1919
bindingset[repo]
2020
private predicate isTrustedOrg(string repo) {
21-
exists(string org | org in ["actions", "github", "advanced-security"] | repo.matches(org + "/%"))
21+
exists(string org | org in ["actions", "github", "advanced-security", "octokit"] | repo.matches(org + "/%"))
2222
}
2323

2424
from UsesStep uses, string repo, string version, Workflow workflow, string name

0 commit comments

Comments
 (0)