Skip to content

Commit

Permalink
ci: show Semgrep project result links
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakchai Homhual authored and Sakchai Homhual committed Oct 27, 2023
1 parent 298c06e commit d0a5c5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@ jobs:
[[ "${{ inputs.verbose }}" == "true" ]] && export VERBOSE=--verbose || export VERBOSE=''
echo "VERBOSE_OPTION=$VERBOSE" >> $GITHUB_ENV
- name: scan
run: semgrep ci ${{ env.VERBOSE_OPTION }}
run: |
semgrep ci ${{ env.VERBOSE_OPTION }}
BBlue='\033[1;34m'
Color_Reset='\033[0m'
echo -e "📝 ${BBlue}View results ${{ github.repository }} in Semgrep Cloud Platform${Color_Reset}"
echo " https://semgrep.dev/orgs/-/findings?repo=Refinitiv%2Frefinitiv-ui"
echo " https://semgrep.dev/orgs/-/supply-chain?q=refinitiv-ui"
env:
# Connect to Semgrep Cloud Platform through your SEMGREP_APP_TOKEN.
# Generate a token from Semgrep Cloud Platform > Settings
Expand Down

0 comments on commit d0a5c5b

Please sign in to comment.