Update .gitea/workflows/mobsf.yml
All checks were successful
MobSF Security Scan / mobsf-analysis (push) Successful in 13s
All checks were successful
MobSF Security Scan / mobsf-analysis (push) Successful in 13s
This commit is contained in:
@@ -22,12 +22,24 @@ jobs:
|
|||||||
ls -R
|
ls -R
|
||||||
# 3. Run MobSF Scan using Docker
|
# 3. Run MobSF Scan using Docker
|
||||||
# We mount the Gitea Workspace volume into the MobSF container
|
# 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
|
- name: Run MobSF Scan
|
||||||
run: |
|
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 \
|
docker run --rm \
|
||||||
-v "${{ github.workspace }}:/src" \
|
-v "${{ github.workspace }}:/src" \
|
||||||
opensecurity/mobsfscan:latest \
|
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
|
# 4. Upload using the Gitea-compatible v3 action
|
||||||
- name: Upload Report to Gitea
|
- name: Upload Report to Gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user