diff --git a/.github/workflows/backdoor_check.yml b/.github/workflows/backdoor_check.yml deleted file mode 100644 index 1ecf9840a..000000000 --- a/.github/workflows/backdoor_check.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Security Analysis Workflow - -on: [push, pull_request] - -jobs: - security-analysis: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: '3.8' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install gitpython openai dotenv shutil - - - name: Run Security Analysis - run: | - python gitdoorcheck.py --repo-url ${{ github.event.repository.html_url }} --local-repo-path ./repo --threshold 50 - env: - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - - - name: Save Analysis Report - if: always() - uses: actions/upload-artifact@v2 - with: - name: security-analysis-report - path: analysis-report.json