Use with_best_text() to retrieve Opinion text in the frontend #12727
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: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
schedule: | |
# Execute every day at 2:00 | |
- cron: '0 2 * * *' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Install a Python compatible with pyproject (necessary later for | |
# `github/codeql-action/init`) | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.13' | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: python | |
config-file: ./.github/codeql-config.yml | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |