fix(backend): delete branch data in bounded batches #24228
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
| --- | |
| # yamllint disable rule:truthy | |
| name: Keyword Scanner | |
| on: [push, pull_request] | |
| env: | |
| KEYWORDS_LIST: "${{ secrets.KEYWORDS_LIST || '' }}" | |
| jobs: | |
| scan: | |
| if: | | |
| (github.event_name == 'push' && github.actor != 'dependabot[bot]') || | |
| (github.event_name == 'pull_request' && | |
| github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]') | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: 3.13 | |
| - name: "Setup Python environment" | |
| run: "pip install invoke toml pydantic-settings" | |
| - name: Scan for prohibited keywords | |
| run: "invoke main.scan" |