-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(static-analysis): implementing the fix provided by semgrep team
- Loading branch information
Showing
2 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: Run static code analysis | ||
description: GitHub Action that scans code changes being made and posts security findings in form of comments on pull requests | ||
description: Github Action that scans code changes being made and posts security findings in form of comments on pull requests | ||
inputs: | ||
semgrep-app-token: | ||
required: true | ||
description: Semgrep API token to pull the latest rule configuration from Semgrep's ruleboard | ||
checkout-repo: | ||
description: Perform checkout as the first step | ||
description: Perform checkout as first step | ||
required: false | ||
default: "true" | ||
|
||
semgrep-app-token: | ||
required: true | ||
description: SemGrep API token to be added to repo that allows to pull latest rule config from ruleboard in Semgrep UI | ||
runs: | ||
using: docker | ||
image: docker://semgrep/semgrep:latest-nonroot | ||
entrypoint: semgrep | ||
args: | ||
- ci | ||
env: | ||
SEMGREP_USER_HOME: /tmp | ||
using: composite | ||
image: semgrep/semgrep:latest-nonroot | ||
steps: | ||
- name: Checkout | ||
if: ${{inputs.checkout-repo == 'true'}} | ||
uses: actions/checkout@v4 | ||
- run: semgrep ci | ||
shell: bash |