Update .gitea/workflows/mobsf.yml
All checks were successful
MobSF Security Scan / mobsf-analysis (push) Successful in 13s

This commit is contained in:
2026-02-18 19:19:32 +00:00
parent 01430414cb
commit c022ea54ce

View File

@@ -22,12 +22,24 @@ jobs:
ls -R
# 3. Run MobSF Scan using Docker
# We mount the Gitea Workspace volume into the MobSF container
# - name: Run MobSF Scan
# run: |
# docker run --rm \
# -v "${{ github.workspace }}:/src" \
# opensecurity/mobsfscan:latest \
# /src --html --output /src/report.html || true
## ... previous steps ...
- name: Run MobSF Scan
run: |
# 1. We added --type directory to stop it from ignoring "non-android" files
# 2. We added -v for verbose output so we can see what it's doing
docker run --rm \
-v "${{ github.workspace }}:/src" \
opensecurity/mobsfscan:latest \
/src --html --output /src/report.html || true
/src --type directory --html --output /src/report.html || true
# ... upload steps ...
# 4. Upload using the Gitea-compatible v3 action
- name: Upload Report to Gitea