mirror of
https://github.com/MobSF/Mobile-Security-Framework-MobSF.git
synced 2026-10-11 22:50:09 +00:00
@@ -0,0 +1,27 @@
|
||||
name: Socket Supply Chain Firewall
|
||||
permissions:
|
||||
contents: read
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
socket-scan:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: socketdev/action@v1
|
||||
with:
|
||||
mode: firewall
|
||||
firewall-version: latest
|
||||
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/setup-python@v3
|
||||
- name: Generate Requirements
|
||||
run: |
|
||||
python -m pip install poetry
|
||||
poetry self add poetry-plugin-export
|
||||
poetry export --without-hashes --format=requirements.txt > requirements.txt
|
||||
- name: Socket Firewall Scan
|
||||
run: sfw pip install -r requirements.txt
|
||||
Reference in New Issue
Block a user