Skip to content

Commit

Permalink
feat: use latest semgrep image that runs as nonroot user to unpause c…
Browse files Browse the repository at this point in the history
…hecks
  • Loading branch information
prathamesh16c committed Sep 26, 2023
1 parent b7eb8ce commit 4610e25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions static-analysis/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ runs:
uses: ${GITHUB_ACTION_PATH}/static-analysis/semgrep
with:
semgrep-app-token: ${{ inputs.semgrep-app-token }}
# - run: echo "pausing checks"
# shell: bash
6 changes: 1 addition & 5 deletions static-analysis/semgrep/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ inputs:
runs:
using: docker
container:
image: returntocorp/semgrep
image: returntocorp/semgrep:latest-nonroot
options: --user semgrep
args:
- semgrep
- ci
env:
SEMGREP_APP_TOKEN: ${{ inputs.semgrep-app-token }}
# using: composite
# steps:
# - run: echo "pausing checks"
# shell: bash

0 comments on commit 4610e25

Please sign in to comment.