Skip to content

ci: add PR validation checks and release automation - #2

Merged
sebastiancorrea81 merged 2 commits into
mainfrom
ci/add-pr-validation-checks
Jul 28, 2026
Merged

ci: add PR validation checks and release automation#2
sebastiancorrea81 merged 2 commits into
mainfrom
ci/add-pr-validation-checks

Conversation

@sebastiancorrea81

Copy link
Copy Markdown
Contributor

Summary

  • Adds the same CI checks that services-postgresql-rds already has, via nullplatform/actions-nullplatform reusable workflows:
    • branch-validation.yml — enforces branch naming convention on PRs
    • conventional-commit.yml — enforces conventional commit messages on PRs
    • shellcheck.yml — lints shell scripts on PRs
    • trivy.yml — Trivy IaC scan over OpenTofu/Terraform files on PRs
    • release.yml — release-please based release automation on push to main
  • ci.yml (the existing nullplatform asset build/push workflow) is untouched.

Notes

  • This repo has the same Terraform/OpenTofu + shell script structure as services-postgresql-rds, so all reusable workflows apply with their defaults — no repo-specific config needed.
  • release.yml uses release-please's default terraform-module release type, same as RDS.

Test plan

  • Open a PR against this branch (or any test branch) and confirm branch-validation / conventional-commit / shellcheck / trivy checks run
  • After merge, confirm the release workflow runs on push to main and creates a release-please PR

Mirrors the CI setup from services-postgresql-rds: branch naming
validation, conventional commit enforcement, shellcheck, a Trivy
IaC scan on OpenTofu/Terraform files, and release-please based
release automation, all via nullplatform/actions-nullplatform
reusable workflows.
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

storage_encrypted = true alone falls back to the AWS-managed RDS key,
which fails AVD-AWS-0079 (trivy IaC scan requires an explicit
kms_key_id on aws_rds_cluster). Add a dedicated KMS key instead of
suppressing the check.
@sebastiancorrea81
sebastiancorrea81 merged commit eb2f969 into main Jul 28, 2026
5 checks passed
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