Commit Graph

33 Commits

Author SHA1 Message Date
GitHub Actions e7f791044d chore: Refactor CI workflows for pipeline consolidation and manual dispatch triggers
- Updated quality-checks.yml to support manual dispatch with frontend checks.
- Modified rate-limit-integration.yml to remove workflow_run triggers and adjust conditions for execution.
- Removed pull request triggers from repo-health.yml, retaining only scheduled and manual dispatch.
- Adjusted security-pr.yml and supply-chain-pr.yml to eliminate workflow_run dependencies and refine execution conditions.
- Cleaned up supply-chain-verify.yml by removing workflow_run triggers and ensuring proper execution conditions.
- Updated waf-integration.yml to remove workflow_run triggers, allowing manual dispatch only.
- Revised current_spec.md to reflect the consolidation of CI workflows into a single pipeline, detailing objectives, research findings, and implementation plans.
2026-02-08 05:36:29 +00:00
Jeremy 05d54fcadb Merge branch 'hotfix/ci' into renovate/development-weekly-non-major-updates 2026-02-06 12:02:20 -05:00
renovate[bot] 38b1226a32 chore(deps): update weekly-non-major-updates 2026-02-06 14:08:50 +00:00
GitHub Actions 276cb13fcb fix: optimize supply chain verification workflow to prevent redundant builds 2026-02-06 08:56:14 +00:00
GitHub Actions 98cf52ff57 fix: upgrade supply-chain workflow to use modern grype binary
Replaced anchore/scan-action with manual grype v0.107.1 installation
Explicitly output scan results to avoid "file not found" errors
Updated parsing logic to read generated grype-results.json directly
Ensures latest vulnerability definitions are used for PR checks
2026-02-06 08:42:49 +00:00
GitHub Actions 28865a5f36 fix: harden supply chain workflow vulnerability reporting
Forced workflow failure if scan results are missing (prevents false negatives)
Fixed "Fail on critical" step to use calculated counts instead of missing action outputs
Added debug logging and file verification for Grype scans
Refactored shell scripts to prevent injection vulnerabilities
2026-02-06 08:06:01 +00:00
GitHub Actions 7a48bccfaf fix: update workflow concurrency settings to prevent cancellation between push and PR events 2026-02-06 06:54:36 +00:00
GitHub Actions 00cc170a06 fix(ci): enable full checkout in supply chain verification
- Removed sparse-checkout configuration from supply-chain-pr workflow
- Ensures Dockerfile and source code are available for local build fallback
- Fixes "failed to find dockerfile" error when workflow is triggered by PR events
2026-02-06 05:28:58 +00:00
GitHub Actions 301b5972d9 fix: enable supply-chain-pr workflow for direct push and pr events
Updated the job-level if condition in the Supply Chain Verification (PR) workflow to explicitly allow execution on push and pull_request events.

Previously, the condition only permitted workflow_dispatch or workflow_run events, causing the workflow to skip despite being triggered by pushes or PRs.
This change ensures the verification runs immediately when code is pushed or a PR is opened, as intended by the workflow's trigger configuration.
2026-02-06 03:42:26 +00:00
GitHub Actions 964a89a391 chore: repair playwright config and verify workflow triggers
Fixed syntax errors in playwright.config.js (duplicate identifiers)
Verified all E2E and Integration workflows have correct push triggers
Confirmed immediate feedback loop for feature/hotfix branches
Validated E2E environment by running core test suite (100% pass)
2026-02-06 03:24:49 +00:00
GitHub Actions a14e0966e6 fix: ensure integration tests and security scans run on all branches
- Added push and pull_request triggers to integration test workflows (waf, cerberus, crowdsec, rate-limit)
- Added push and pull_request triggers to security scan workflows (security-pr, supply-chain-pr)
- Implemented logic to locate build artifacts when triggered directly via push/PR
- Ensured consistent testing coverage across main, development, feature, and hotfix branches
2026-02-06 01:29:27 +00:00
renovate[bot] 43668b4d5c fix(deps): update weekly-non-major-updates 2026-02-05 19:03:08 +00:00
GitHub Actions 7a63e4b9c1 chore: update Go version references from 1.25.6 to 1.25.7 across documentation and scripts 2026-02-05 19:03:08 +00:00
renovate[bot] df80c49070 chore(deps): update github/codeql-action digest to 6bc82e0 2026-02-03 07:15:37 +00:00
GitHub Actions 4178910eac refactor: streamline supply chain workflows by removing Syft and Grype installations and utilizing official Anchore actions for SBOM generation and vulnerability scanning 2026-02-03 07:09:54 +00:00
renovate[bot] 22c2e10f64 chore(deps): update weekly-non-major-updates 2026-02-02 21:23:46 +00:00
renovate[bot] 085fa9cb2c chore(deps): update weekly-non-major-updates 2026-02-02 11:57:31 +00:00
renovate[bot] 81e6bdc052 chore(deps): update weekly-non-major-updates 2026-01-31 05:40:01 +00:00
renovate[bot] 55cf3427a6 chore(deps): update weekly-non-major-updates 2026-01-30 02:08:00 +00:00
GitHub Actions 98eae4afd9 fix(docs): update Grype version to v0.107.0 in scripts and documentation 2026-01-30 01:04:46 +00:00
renovate[bot] 74bb7d711d fix(deps): update weekly-non-major-updates 2026-01-28 21:36:35 +00:00
renovate[bot] 300e89aa9a fix(deps): update weekly-non-major-updates 2026-01-27 23:26:52 +00:00
renovate[bot] 859d987d1e fix(deps): update weekly-non-major-updates 2026-01-26 22:31:20 +00:00
GitHub Actions f64e3feef8 chore: clean .gitignore cache 2026-01-26 19:22:05 +00:00
GitHub Actions e5f0fec5db chore: clean .gitignore cache 2026-01-26 19:21:33 +00:00
renovate[bot] dfffa66e36 fix(deps): update weekly-non-major-updates 2026-01-25 14:42:45 +00:00
GitHub Actions 55fe64b7ae fix(ci): sanitize branch names in Docker image tags
Fix "invalid reference format" error in GitHub Actions workflows when
branch names contain forward slashes (e.g., feature/beta-release).

Add sanitization step to playwright.yml converting / to -
Update supply-chain-verify.yml with dynamic branch sanitization
Add sanitization step to supply-chain-pr.yml for artifact names
Branch feature/beta-release → tag feature-beta-release
Fixes Playwright E2E and supply chain security scan workflow failures
2026-01-25 14:39:40 +00:00
renovate[bot] 82e02482ce chore(deps): update weekly-non-major-updates 2026-01-19 21:16:19 +00:00
renovate[bot] 962d933601 fix(deps): update weekly-non-major-updates 2026-01-16 21:39:53 +00:00
renovate[bot] 7a55cb0be9 fix(deps): update weekly-non-major-updates 2026-01-15 16:34:35 +00:00
GitHub Actions 07796bf610 fix(ci): enable workflow_run triggers for all push branches
Update branch triggers and downstream workflow logic to support all
branches defined in docker-build.yml (main, development, feature/**).

Changes:

docker-build.yml: Expand branch glob to feature/**, use branch-based tags
playwright.yml: Replace is_beta_push with generic is_push detection
security-pr.yml: Same branch-agnostic pattern
supply-chain-pr.yml: Same pattern, skip PR comments for push events
The workflows now support any push that triggers docker-build:

main branch → tag: latest
development branch → tag: dev
feature/* branches → tag: {branch-name}
Pull requests → tag: pr-{number}
Dynamic artifact naming:

Push events: push-image (shared across all branches)
Pull requests: pr-image-{number}
This ensures CI/CD pipelines work for stable releases, bug fixes,
and new feature development without hardcoded branch names.
2026-01-15 16:07:40 +00:00
GitHub Actions 3590553519 chore(ci): comprehensive CI/CD audit fixes per best practices
Implements all 13 fixes identified in the CI/CD audit against
github-actions-ci-cd-best-practices.instructions.md

Critical fixes:

Remove hardcoded encryption key from playwright.yml (security)
Fix artifact filename mismatch in supply-chain-pr.yml (bug)
Pin GoReleaser to ~> v2.5 instead of latest (supply chain)
High priority fixes:

Upgrade CodeQL action from v3 to v4 in supply-chain-pr.yml
Add environment protection for release workflow
Fix shell variable escaping ($$ → $) in release-goreleaser.yml
Medium priority fixes:

Add timeout-minutes to playwright.yml (20 min)
Add explicit permissions to quality-checks.yml
Add timeout-minutes to codecov-upload.yml jobs (15 min)
Fix benchmark.yml permissions (workflow-level read, job-level write)
Low priority fixes:

Add timeout-minutes to docs.yml jobs (10/5 min)
Add permissions block to docker-lint.yml
Add timeout-minutes to renovate.yml (30 min)
2026-01-15 15:25:58 +00:00
GitHub Actions 0892637164 chore(ci): modularize post-build testing into independent workflows
Separate PR-specific tests from docker-build.yml into dedicated workflows
that trigger via workflow_run. This creates a cleaner CI architecture where:

playwright.yml: E2E tests triggered after docker-build completes
security-pr.yml: Trivy binary scanning for PRs
supply-chain-pr.yml: SBOM generation + Grype vulnerability scanning
2026-01-15 15:00:55 +00:00