Skip to content

ci: add security and PHP validation workflow - #1672

Closed
Emavero wants to merge 4 commits into
opendcim:masterfrom
Emavero:mynewfeature-patch
Closed

Emavero wants to merge 4 commits into
opendcim:masterfrom
Emavero:mynewfeature-patch

Conversation

@Emavero

@Emavero Emavero commented Aug 22, 2026

Copy link
Copy Markdown

Summary

This PR introduces a new GitHub Actions workflow to provide automated security and code quality checks for the openDCIM project.

Features

Security Scanning

  • Detect exposed secrets using Gitleaks
  • Perform static application security testing (SAST) with Semgrep
  • Scan dependencies and source code for known vulnerabilities using Trivy

PHP Validation

  • Set up a PHP 8.2 environment
  • Validate the composer.json configuration
  • Install Composer dependencies
  • Perform syntax validation on all PHP files

SBOM Generation

  • Generate a Software Bill of Materials (SBOM)
  • Submit dependency information to GitHub Dependency Graph

Benefits

  • Detects PHP syntax errors early in the development process
  • Helps identify security issues and exposed secrets
  • Verifies Composer configuration and dependency installation
  • Improves overall code quality and repository security
  • Establishes a CI foundation that can be extended with unit and integration tests in the future

Motivation

The repository currently does not include a GitHub Actions workflow. This PR introduces an initial CI pipeline focused on security and PHP validation while remaining non-intrusive to the application's existing functionality.

@Emavero Emavero closed this Aug 22, 2026
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.

1 participant