From cb06f2372159ea11d5fe170803551c059bb13701 Mon Sep 17 00:00:00 2001 From: Samarth Chugh Date: Thu, 17 Sep 2026 23:31:20 +0530 Subject: [PATCH] Add GitHub Actions workflow for SecretShield This workflow automates the installation and scanning of the SecretShield tool on push and pull request events. --- .github/workflows/secretshield.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/secretshield.yml b/.github/workflows/secretshield.yml index 8b13789..e2efc28 100644 --- a/.github/workflows/secretshield.yml +++ b/.github/workflows/secretshield.yml @@ -1 +1,24 @@ +name: SecretShield +on: + push: + pull_request: + +jobs: + secretshield: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.x" + + - name: Install SecretShield + run: python -m pip install secretshield + + - name: Scan repository + run: secretshield scan .