Skip to content

Commit

Permalink
Set the correct release_phase fields for all ruletypes (#157)
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslav Dimitrov <[email protected]>
  • Loading branch information
rdimitrov authored Sep 11, 2024
1 parent 56955f0 commit d2124b7
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion rule-types/github/actions_check_pinned_tags.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: actions_check_pinned_tags
display_name: Ensure immutable version of GitHub action
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/branch_protection_allow_deletions.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_allow_deletions
display_name: Prevent permanent branch deletion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_allow_force_pushes
display_name: Prevent overwriting git history
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_allow_fork_syncing
display_name: Allow forks to pull changes from locked branches
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/branch_protection_enabled.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_enabled
display_name: Ensure a branch protection rule is set up
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/branch_protection_enforce_admins.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_enforce_admins
display_name: Enforce branch protection rules for admins
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/branch_protection_lock_branch.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_lock_branch
display_name: Set a branch as read-only
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_conversation_resolution
display_name: Prevent merging PRs with unresolved conversations
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_linear_history
display_name: Forbid merge commits
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_pull_request_approving_review_count
display_name: Require a number of reviews before merging a PR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_pull_request_code_owners_review
display_name: Require a code owner review before merging a PR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_pull_request_dismiss_stale_reviews
display_name: Forbid merging PRs with un-approved commits
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_pull_request_last_push_approval
display_name: Disregard self-approvals on PRs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_pull_requests
display_name: Only merge code from pull requests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: branch_protection_require_signatures
display_name: Require commits to be signed
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/codeql_enabled.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: codeql_enabled
display_name: Enable CodeQL for vulnerability scanning
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/dependabot_configured.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: dependabot_configured
display_name: Enable Dependabot for automated dependency updates
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/invisible_characters_check.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: invisible_characters_check
display_name: Check for invisible characters in pull requests
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/license.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: license
display_name: Ensure a license file is present
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/mixed_scripts_check.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: mixed_scripts_check
display_name: Check for mixed scripts in pull requests
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/no_binaries_in_repo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: no_binaries_in_repo
display_name: Ensure no binary artifacts are committed
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/no_open_security_advisories.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: no_open_security_advisories
display_name: Verify there are no open security advisories
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/scorecard_enabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def:
workflow := yaml.unmarshal(workflowstr)
# Ensure a workflow contains the codel-ql action
# Ensure a workflow contains the scorecard action
some i
steps := workflow.jobs.analyze.steps[i]
startswith(steps.uses, "ossf/scorecard-action@")
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/secret_push_protection.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: secret_push_protection
display_name: Enable secret push protection to avoid pushing hardcoded secrets
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/secret_scanning.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: secret_scanning
display_name: Enable secret scanning to detect hardcoded secrets
Expand Down
2 changes: 1 addition & 1 deletion rule-types/github/trivy_action_enabled.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
version: v1
release_phase: alpha
release_phase: beta
type: rule-type
name: trivy_action_enabled
display_name: Ensure Trivy is enabled for vulnerability scanning
Expand Down

0 comments on commit d2124b7

Please sign in to comment.