Skip to content

ci: let Sourcery skip rule-test fixtures #227

Closed

Description

@uniqueg

The semgrep and ast-grep rule tests (.semgrep/*.py, .semgrep/*.test.yaml, .ast-grep/rule-tests/) contain bad code on purpose. Sourcery reviews them anyway, posts security findings on them and fails its check (seen in elixir-cloud-aai/trs-filer#149).

Add a versioned .sourcery.yaml whose ignore list skips those fixtures, while the rule files themselves stay reviewed. The maintainer prefers the versioned file over the dashboard's path filters.

The same change goes into foca, cloud-registry, proTES and trs-filer.

Activity

  1. added
    priority: medium
    status: in progress
    type: ci / cd
    workload: minutes
    on Oct 24, 2026
  2. removed
    status: in progress
    on Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: ci / cdworkload: minutes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions