This repository was archived by the owner on Nov 24, 2025. It is now read-only.
chore: bump otto-de/purge-deprecated-workflow-runs from 3.0.4 to 4.0.2 #405
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'dependabot/**' | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.cff' | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.cff' | |
| schedule: | |
| - cron: '4 3 * * 1' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| codeql-analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| languages: ['python'] | |
| steps: | |
| - name: Checkout the Repository | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@a57c67b89589d2d13d5ac85a9fc4679c7539f94c # v2.17.3 | |
| with: | |
| languages: ${{ matrix.languages }} | |
| queries: +security-and-quality | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@a57c67b89589d2d13d5ac85a9fc4679c7539f94c # v2.17.3 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@a57c67b89589d2d13d5ac85a9fc4679c7539f94c # v2.17.3 | |
| slack-workflow-status: | |
| if: always() | |
| name: Slack Post Workflow Notification | |
| needs: | |
| - codeql-analyze | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Slack Workflow Notifications | |
| if: ${{ github.event_name == 'schedule' && needs.codeql-analyze.result != 'success' }} | |
| uses: Gamesight/slack-workflow-status@68bf00d0dbdbcb206c278399aa1ef6c14f74347a # v1.3.0 | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| include_jobs: on-failure | |
| include_commit_message: true |