Skip to content

Add repository security settings#7

Merged
tomdewildt merged 3 commits into
masterfrom
feat/add-repository-security-settings
May 29, 2026
Merged

Add repository security settings#7
tomdewildt merged 3 commits into
masterfrom
feat/add-repository-security-settings

Conversation

@tomdewildt
Copy link
Copy Markdown
Owner

What type of PR is this?

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

What this PR does / why we need it:

Adds security settings for GitHub repositories managed through Terraform:

  • Secret scanning and secret scanning push protection for public repositories
  • Vulnerability alerts per repository
  • Dependabot security updates with dependency on vulnerability alerts

All four settings are configurable per repository via optional boolean variables (defaulting to true).

Which issue(s) this PR fixes:

NONE

Special notes for your reviewer:

The security_and_analysis block is conditionally applied only to public repositories, as GitHub does not support these settings on private repos in all plans.

Does this PR introduce a user-facing change?:

NONE

@github-actions
Copy link
Copy Markdown

Thanks for your first pull request! A maintainer will review it as soon as possible. Make sure CI is green and the PR description explains the change and links any related issue.

@github-actions github-actions Bot added the enhancement New feature or request label May 29, 2026
@tomdewildt tomdewildt merged commit ffc9427 into master May 29, 2026
4 checks passed
@tomdewildt tomdewildt deleted the feat/add-repository-security-settings branch May 29, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant