scorecard/checks
Spencer Schrock 8791d483e9
🌱 Cleanup branch protection tests (#3932)
* switch to helper func

done using a find/replace regex

Signed-off-by: Spencer Schrock <sschrock@google.com>

* use constants for branch names

Signed-off-by: Spencer Schrock <sschrock@google.com>

* replace branch name with constants

Signed-off-by: Spencer Schrock <sschrock@google.com>

* handle findings with values needed

Signed-off-by: Spencer Schrock <sschrock@google.com>

* use requiresApproversForPullRequests constants

Signed-off-by: Spencer Schrock <sschrock@google.com>

* shorter to just use main instead of a const

Signed-off-by: Spencer Schrock <sschrock@google.com>

---------

Signed-off-by: Spencer Schrock <sschrock@google.com>
2024-03-15 01:13:18 +00:00
..
evaluation 🌱 Cleanup branch protection tests (#3932) 2024-03-15 01:13:18 +00:00
fileparser 🐛 Limit Binary Artifact file reads to first 1024 bytes (#3923) 2024-03-06 21:39:40 +00:00
raw 🐛 Avoid reading every file searching for sonar configs (#3929) 2024-03-07 19:19:27 +00:00
testdata 📖 Fix spelling (#3804) 2024-01-26 23:08:26 +00:00
all_checks_test.go 🌱 Fix struct size govet issues (#3787) 2024-01-11 09:40:08 -08:00
all_checks.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
binary_artifact_test.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
binary_artifact.go 🌱 convert binary artifact check to probe (#3508) 2023-12-05 00:24:16 -08:00
branch_protection_test.go 🐛 Branch-Protection: use debug message when unsure if PRs are required (#3917) 2024-03-06 21:10:23 +00:00
branch_protection.go 🌱 Add branch protection probe evaluation (#3759) 2024-02-28 13:37:29 -08:00
ci_tests_test.go 🌱 Disable more style linters for test files (#3707) 2023-12-04 02:14:01 +00:00
ci_tests.go 🌱 convert CI-Tests check to probes (#3621) 2023-12-11 10:15:50 -08:00
cii_best_practices_test.go 🌱 Enhance test output and management in ValidateTestReturn (#3810) 2024-01-30 12:40:41 -08:00
cii_best_practices.go 🌱 convert CII Best Practices check to probes (#3520) 2023-11-28 12:02:26 -08:00
code_review_test.go 🌱 use ValidateTestReturn for Code-Review tests (#3897) 2024-02-23 10:34:47 -08:00
code_review.go New probes: code-review (#3302) 2024-01-26 19:24:56 +00:00
contributors_test.go 🌱 Disable more style linters for test files (#3707) 2023-12-04 02:14:01 +00:00
contributors.go 🌱 Add probe support for contributors metrics (#3460) 2023-10-24 14:02:18 -07:00
dangerous_workflow.go 🌱 Convert Dangerous Workflow check to probes (#3521) 2023-11-06 21:43:03 +00:00
dependency_update_tool_test.go 🌱 Enhance test output and management in ValidateTestReturn (#3810) 2024-01-30 12:40:41 -08:00
dependency_update_tool.go 📖 Fix spelling (#3804) 2024-01-26 23:08:26 +00:00
errors.go Use new project name in Copyright notices (#2505) 2022-12-01 15:08:48 -08:00
fuzzing_test.go 🌱 Combine fuzzing probes (#3877) 2024-03-11 02:50:45 +00:00
fuzzing.go checks/evaluation logs findings (#3409) 2023-09-12 15:28:06 +00:00
license_test.go 🌱 Enhance test output and management in ValidateTestReturn (#3810) 2024-01-30 12:40:41 -08:00
license.go 🌱 Add license probe (#3465) 2023-10-24 11:48:41 -07:00
maintained_test.go 🌱 Fix struct size govet issues (#3787) 2024-01-11 09:40:08 -08:00
maintained.go 🌱 Migrate Maintained check to probes (#3507) 2023-11-17 09:57:10 -08:00
packaging.go 🌱 convert packaging check to probe (#3486) 2023-10-24 19:12:05 +00:00
permissions_test.go ⚠️ Switch RepoClient file access to io.ReadCloser (#3912) 2024-03-04 17:37:50 -08:00
permissions.go Structured results for permissions (#2584) 2023-01-30 18:41:36 -08:00
pinned_dependencies_test.go ⚠️ Switch RepoClient file access to io.ReadCloser (#3912) 2024-03-04 17:37:50 -08:00
pinned_dependencies.go 🌱 Convert pinned dependencies to probe (#3829) 2024-02-26 18:09:26 +00:00
probes.go checks/evaluation logs findings (#3409) 2023-09-12 15:28:06 +00:00
sast_test.go ⚠️ Switch RepoClient file access to io.ReadCloser (#3912) 2024-03-04 17:37:50 -08:00
sast.go 🌱 Convert SAST check to probes (#3571) 2023-11-07 08:41:44 -05:00
security_policy_test.go ⚠️ Switch RepoClient file access to io.ReadCloser (#3912) 2024-03-04 17:37:50 -08:00
security_policy.go 📖 Fix spelling (#3804) 2024-01-26 23:08:26 +00:00
signed_releases_test.go Support .sigstore bundles to check for signed releases (#3772) 2024-01-05 08:35:46 -08:00
signed_releases.go convert Signed Releases to probes (#3610) 2023-12-13 07:51:32 -08:00
vulnerabilities_test.go ⚠️ OSV scanner integration (#2509) 2022-12-12 16:46:43 -08:00
vulnerabilities.go 🌱 convert vulnerabilities check to probe (#3487) 2023-10-25 10:02:24 -07:00
webhook_test.go 🌱 Bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 in /tools (#3867) 2024-02-09 10:53:24 -08:00
webhook.go 🌱 convert Webhook check to probes (#3522) 2023-12-05 18:59:42 +00:00
write.md Detect fuzzing in Haskell by the presence of property tests. (#2843) 2023-04-12 17:29:29 +00:00