File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 66
66
SENTRY_ORG : self-hosted
67
67
SENTRY_DSN :
https://[email protected] /4
68
68
run : |
69
- curl -sL https://sentry.io/get-cli/ | sh
70
69
if [[ ${{ steps.analyze.outcome }} == 'failure' ]]; then
70
+ curl -sL https://sentry.io/get-cli/ | sh
71
71
# Environment variables will automatically be sent, so we just want some minimal information
72
72
sentry-cli send-event -m "FOSSA scan failure" -t repo:$GITHUB_REPOSITORY -e url:$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID --logfile analyze_logs.txt
73
73
exit 0
81
81
echo "🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 🛑 "
82
82
exit 1
83
83
fi
84
+ curl -sL https://sentry.io/get-cli/ | sh
84
85
sentry-cli send-event -m "FOSSA test failure" -t repo:$GITHUB_REPOSITORY -e url:$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID --logfile test_logs.txt
85
- exit 0
You can’t perform that action at this time.
0 commit comments