Skip to content

Keep the CI workflow out of the rules directory config - #10

Open
elkhayyat wants to merge 1 commit into
RobustaStudio:mainfrom
elkhayyat:config-dir
Open

elkhayyat wants to merge 1 commit into
RobustaStudio:mainfrom
elkhayyat:config-dir

Conversation

@elkhayyat

Copy link
Copy Markdown
Contributor

Fixes #9.

  • Renames the workflow to rules.test.yml. Semgrep skips .test.yml files when it loads a directory, so the rule files and their raw URLs stay where they are.
  • CI now validates --config . instead of one file at a time, so it fails if this comes back.

On main, --config semsec/ exits 7. With this change it loads all 262 rules, and the existing tests pass.

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.

semgrep --config semsec/ fails on the CI workflow file

1 participant