Skip to content

Commit ef1050a

Browse files
authored
Update config.yml
1 parent 89604a0 commit ef1050a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
name: "Semgrep scan"
2626
command: |
2727
echo 'export SEMGREP_COMMIT=${CIRCLE_SHA1}' >> $BASH_ENV
28-
echo 'export SEMGREP_PR_ID=${CIRCLE_BUILD_NUM}' >> $BASH_ENV
28+
echo 'export SEMGREP_PR_ID=${CIRCLE_PULL_REQUEST##*/}' >> $BASH_ENV
2929
echo 'export SEMGREP_JOB_URL=${CIRCLE_BUILD_URL}' >> $BASH_ENV
3030
echo 'export SEMGREP_REPO_NAME=${CIRCLE_PROJECT_REPONAME}' >> $BASH_ENV
3131
echo 'export SEMGREP_REPO_URL=${CIRCLE_REPOSITORY_URL}' >> $BASH_ENV
@@ -38,6 +38,12 @@ jobs:
3838
echo ${CIRCLE_PULL_REQUEST##*/}
3939
echo '$CIRCLE_PR_NUMBER'
4040
echo $CIRCLE_PR_NUMBER
41+
echo ${CIRCLE_SHA1}
42+
echo ${CIRCLE_PULL_REQUEST##*/}'
43+
echo ${CIRCLE_BUILD_URL}'
44+
echo ${CIRCLE_PROJECT_REPONAME}'
45+
echo ${CIRCLE_REPOSITORY_URL}'
46+
echo ${CIRCLE_BRANCH}'
4147
git fetch origin "+refs/heads/*:refs/remotes/origin/*"
4248
semgrep ci
4349
workflows:

0 commit comments

Comments
 (0)