From 9b6e0f0fe4a737414f86397b6095d1547b15b81c Mon Sep 17 00:00:00 2001 From: Ajin Abraham Date: Sat, 4 Oct 2025 15:04:04 -0700 Subject: [PATCH] Socket Supply Chain Scan (#2559) Socket Supply Chain Firewall --- .github/workflows/supply_chain.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/supply_chain.yml diff --git a/.github/workflows/supply_chain.yml b/.github/workflows/supply_chain.yml new file mode 100644 index 00000000..9eddda26 --- /dev/null +++ b/.github/workflows/supply_chain.yml @@ -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