Skip to content

Commit 6848a81

Browse files
feat: SECOPS-2525 - add semgrep job (#196)
* feat: add semgrep job * Update config.yml --------- Co-authored-by: Matt Peake <[email protected]>
1 parent 30ef85a commit 6848a81

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.circleci/config.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22

33
orbs:
44
node: circleci/[email protected]
5-
secops: apollo/[email protected].1
5+
secops: apollo/[email protected].7
66

77
commands:
88
install-volta:
@@ -26,7 +26,7 @@ commands:
2626
- when:
2727
condition: << parameters.node-version >>
2828
steps:
29-
- run: volta pin node@<< parameters.node-version >>
29+
- run: volta pin node@<< parameters.node-version >>
3030
- run: node --version
3131
- run: npm --version
3232
- node/install-packages
@@ -37,7 +37,7 @@ jobs:
3737
node-version:
3838
type: string
3939
docker:
40-
- image: cimg/base:stable
40+
- image: cimg/base:stable
4141
steps:
4242
- setup-node:
4343
node-version: <<parameters.node-version>>
@@ -47,7 +47,7 @@ jobs:
4747

4848
Prettier:
4949
docker:
50-
- image: cimg/base:stable
50+
- image: cimg/base:stable
5151
steps:
5252
- setup-node
5353
- run: npm run prettier:check
@@ -73,4 +73,9 @@ workflows:
7373
- github-orb
7474
- secops-oidc
7575
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>
76-
git-revision: << pipeline.git.revision >>
76+
git-revision: << pipeline.git.revision >>
77+
- secops/semgrep:
78+
context:
79+
- secops-oidc
80+
- github-orb
81+
git-base-revision: <<#pipeline.git.base_revision>><<pipeline.git.base_revision>><</pipeline.git.base_revision >>

0 commit comments

Comments
 (0)