Skip to content

Commit b595451

Browse files
authored
Merge pull request #50 from stackitcloud/chore/update-deps
core: update dependencies and fix releaser
2 parents 6e11fff + fe0930f commit b595451

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

.github/workflows/semgrep.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,27 @@ jobs:
1010
runs-on: ubuntu-latest
1111
# Skip any PR created by dependabot to avoid permission issues
1212
if: (github.actor != 'dependabot[bot]')
13+
container:
14+
image: semgrep/semgrep:1.168.0@sha256:59fbed6127ea7c5dde3ba6a85142733bb20ea9aaa36120c953904f1539aaf66e
1315
steps:
1416
# Fetch project source
1517
- uses: actions/checkout@v7
1618

17-
- uses: returntocorp/semgrep-action@v1
18-
with:
19-
config: >- # more at semgrep.dev/explore
20-
p/security-audit
21-
p/secrets
22-
p/ci
23-
p/r2c
24-
p/r2c-ci
25-
p/docker
26-
p/dockerfile
27-
p/command-injection
28-
generateSarif: "1"
19+
- name: Run Semgrep
20+
run: |
21+
semgrep scan \
22+
--sarif \
23+
--output=semgrep.sarif \
24+
--config="p/security-audit" \
25+
--config="p/secrets" \
26+
--config="p/ci" \
27+
--config="p/default" \
28+
--config="p/docker" \
29+
--config="p/dockerfile" \
30+
--config="p/command-injection"
2931
3032
# Upload findings to GitHub Advanced Security Dashboard [step 2/2]
3133
- name: Upload SARIF file for GitHub Advanced Security Dashboard
32-
uses: github/codeql-action/upload-sarif@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
34+
uses: github/codeql-action/upload-sarif@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
3335
with:
34-
sarif_file: semgrep.sarif
35-
if: always()
36+
sarif_file: semgrep.sarif

0 commit comments

Comments
 (0)