Skip to content

Use custom Semgrep Rules#2

Merged
NicholasEllul merged 1 commit intoellul/initfrom
ellul/add-actions-cache-rule
Jan 17, 2025
Merged

Use custom Semgrep Rules#2
NicholasEllul merged 1 commit intoellul/initfrom
ellul/add-actions-cache-rule

Conversation

@NicholasEllul
Copy link
Contributor

Summary

This pull request adds support for custom rules in our Semgrep Action. It also adds an initial rule related to usage of actions/cache in GitHub actions.

Testing

  1. Install semgrep
  2. Run semgrep --test --config rules/src/ rules/test/

See that all tests pass

@NicholasEllul NicholasEllul force-pushed the ellul/init branch 2 times, most recently from 38f3336 to 30f0add Compare January 17, 2025 17:19
@NicholasEllul NicholasEllul force-pushed the ellul/add-actions-cache-rule branch from 165f3ae to be89eb7 Compare January 17, 2025 17:20
@NicholasEllul
Copy link
Contributor Author

Merging into #1 as this will provide a rule to use in the reproduction steps

@NicholasEllul NicholasEllul merged commit 45fe905 into ellul/init Jan 17, 2025
@NicholasEllul NicholasEllul deleted the ellul/add-actions-cache-rule branch January 17, 2025 17:32
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