Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rule configuration #179

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Update rule configuration #179

merged 4 commits into from
Oct 11, 2024

Conversation

ethomson
Copy link
Member

A number of simplifications to rule configuration, removing required fields that are not actually required, since we have useful defaults.

The branch protection rules have a sensible default of the remote HEAD
branch. As a result, they no longer _require_ the branch name. Right
now, callers must specify the branch name as an empty string (since it's
required), but we should instead just remove the requirement entirely.
The security insights rules have a sensible default of
`SECURITY-INSIGHTS.yml`, thus, we should not require the filename.
The dependabot rule does not use the schedule_interval option; it should
not be required any longer.
The security policy rule has a sensible default of `SECURITY.md`,
thus, we should not require the filename.
@rdimitrov rdimitrov merged commit 668f010 into main Oct 11, 2024
4 checks passed
@rdimitrov rdimitrov deleted the ethomson/rule_configuration branch October 11, 2024 12:34
jhrozek added a commit that referenced this pull request Oct 14, 2024
jhrozek added a commit that referenced this pull request Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants