diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index 37c4da9cc10..00000000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: - - main - pull_request: - branches: - - main - schedule: - - cron: '0 4 * * *' - -concurrency: - group: code-analysis-${{ github.ref }} - cancel-in-progress: true - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - security-events: write - - steps: - - name: 📥 Checkout the repository - uses: actions/checkout@v4.1.1 - with: - fetch-depth: 2 - - - name: 🔁 Initialize CodeQL - uses: github/codeql-action/init@v2.22.7 - with: - languages: python - - - name: 🛠️ Autobuild - uses: github/codeql-action/autobuild@v2.22.7 - - - name: 🏃 Run CodeQL Analysis - uses: github/codeql-action/analyze@v2.22.7 - - - name: 📨 Discord notification - if: ${{ github.event_name == 'schedule' && failure() }} - run: | - curl \ - -H "Content-Type: application/json" \ - -d '{"username": "GitHub action failure", "content": "[Scheduled action failed!](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})"}' \ - ${{ secrets.DISCORD_WEBHOOK_ACTION_FAILURE }} \ No newline at end of file