Skip to content

fix(ci): workflow trigger + quality-gate expression repair (split 6/6 of #125)#135

Merged
cryptoxdog merged 1 commit into
mainfrom
fix/workflow-triggers-gates
Jul 23, 2026
Merged

fix(ci): workflow trigger + quality-gate expression repair (split 6/6 of #125)#135
cryptoxdog merged 1 commit into
mainfrom
fix/workflow-triggers-gates

Conversation

@cryptoxdog

Copy link
Copy Markdown
Collaborator

Summary

Workflow-only extraction from #125 (commit 9b0d03c), with the risky pieces removed.

Changes

File Fix
ci.yml, codeql.yml, docker-build.yml, supply-chain.yml, release-drafter.yml ${{ vars.* }} branch triggers → literal main/develop (expressions in on: are never evaluated, so these workflows never triggered)
ci.yml lint deps from requirements-ci.txt; mypy consistent + blocking (was `
compliance.yml Cypher check delegates to canonical tools/contract_scanner.py; mypy aligned with CI gate (drops --strict divergence)
refactoring-validation.yml deep gate restricted to refactor/ branches or manual dispatch; mypy aligned
ci-quality.yml needs.lint-formatneeds['lint-format'] bracket syntax (dot syntax on hyphenated job ids silently resolves empty, so the gate never fired); adds the missing semgrep failure branch

Excluded per review (not in this PR)

Verification

  • All 8 workflow YAMLs parse cleanly

See #130 for the full split-series map replacing #125.

@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Too Many Files Changed
Changed: 88 files
Limit: 50 files
Action Required: Split into multiple focused PRs

PR Too Large
Lines changed: 1751
Limit: 1000 lines
Action Required: Break into smaller, atomic PRs

📋 Best Practices for Large Changes

  1. Refactoring + Features: Separate into 2 PRs
  2. Multiple Features: One PR per feature
  3. Database + Code: Separate migration from logic
  4. Generated Code: Separate from manual changes

🚫 This PR is blocked from merging until size limits are met.

Filtered extraction from #125 (commit 9b0d03c), workflows only:

- ci.yml / codeql.yml / docker-build.yml / supply-chain.yml /
  release-drafter.yml: replace ${{ vars.* }} branch triggers with
  literal main/develop — GitHub never evaluates expressions in the
  'on:' block, so these workflows never triggered
- ci.yml: install lint deps from requirements-ci.txt (canonical set)
  and make mypy consistent + blocking (was || echo non-blocking)
- compliance.yml: delegate Cypher injection check to the canonical
  tools/contract_scanner.py instead of a second divergent regex;
  align mypy invocation with the CI gate (drop --strict divergence)
- refactoring-validation.yml: gate the deep validation to refactor/
  branches or manual dispatch; align mypy invocation
- ci-quality.yml: fix needs.lint-format / needs.secrets-scan /
  needs.yaml-validate expressions to bracket syntax (hyphenated job
  ids resolve to empty string with dot syntax, so gates never fired);
  add missing semgrep failure branch to the quality-gate summary

Deliberately excluded per review: replacement Semgrep runner,
GitGuardian fail-open gating, coverage -m unit narrowing and the
five --ignore test exclusions, tools/contract_scanner.py hunk (#129).

All 8 workflow YAMLs parse cleanly.
@cryptoxdog
cryptoxdog force-pushed the fix/workflow-triggers-gates branch from 955777c to f686635 Compare July 22, 2026 21:20
@cryptoxdog
cryptoxdog changed the base branch from main to feat/lint-autofix-workflow July 22, 2026 21:21
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

@cryptoxdog
cryptoxdog changed the base branch from feat/lint-autofix-workflow to main July 23, 2026 00:53
@cryptoxdog
cryptoxdog merged commit eaff985 into main Jul 23, 2026
19 of 36 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.

1 participant