File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,18 @@ jobs:
79
79
- name : Execute exodus-standalone
80
80
uses : docker://exodusprivacy/exodus-standalone:latest
81
81
with :
82
- args : /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json
82
+ # Don't fail when finding trackers so they can be reported later
83
+ args : /github/workspace/gplay/release/vector-gplay-universal-release-unsigned.apk -j -o /github/workspace/exodus.json -e 0
83
84
- name : Upload exodus json report
84
85
uses : actions/upload-artifact@v3
85
86
with :
86
87
name : exodus.json
87
88
path : |
88
89
exodus.json
89
90
- name : Check for trackers
90
- run : " jq -e '.trackers == []' exodus.json > /dev/null || { echo '::error static analysis identified user tracking library' ; exit 1; }"
91
+ env :
92
+ SENTRY_ID : 447
93
+ # Should only contain a Sentry item
94
+ run : |
95
+ TRACKER_IDS=$(jq ".trackers[] | .id" exodus.json)
96
+ [ $TRACKER_IDS = ${{ env.SENTRY_ID }} ] || { echo '::error static analysis identified user tracking library' ; exit 1; }
You can’t perform that action at this time.
0 commit comments