Skip to content

Commit 35b1cb2

Browse files
authored
Fix a few issues with the testing workflow: (#17)
- Set the filename to be correct. - Run ratchet to pin shas. - Clean up strings to be quoted.
1 parent 292b03a commit 35b1cb2

File tree

2 files changed

+27
-27
lines changed

2 files changed

+27
-27
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
### Ensure that our local testing always passes
2+
name: 'Run semgrep tests'
3+
4+
on:
5+
pull_request: {}
6+
7+
permissions:
8+
contents: 'read'
9+
actions: 'read'
10+
11+
jobs:
12+
semgrep-tests:
13+
name: 'Run semgrep tests'
14+
runs-on: 'ubuntu-latest'
15+
16+
container:
17+
image: index.docker.io/semgrep/semgrep@sha256:85782eaf09692e6dfb684cd3bad87ef315775814b01f76b4d15582e4ca7c1c89 # ratchet:semgrep/semgrep
18+
19+
# Skip any PR created by dependabot to avoid permission issues:
20+
if: (github.actor != 'dependabot[bot]')
21+
22+
steps:
23+
- name: 'Checkout Code'
24+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
25+
26+
- name: 'Run Actions semgrep scan'
27+
run: 'semgrep --test --config semgrep-rules semgrep-tests'

.github/workflows/semver_testing.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)