Skip to content

refactor: derive the current branch from the URL instead of syncing an atom #24212

refactor: derive the current branch from the URL instead of syncing an atom

refactor: derive the current branch from the URL instead of syncing an atom #24212

Workflow file for this run

---
# 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.14"
- name: "Setup Python environment"
run: "pip install invoke toml pydantic-settings"
- name: Scan for prohibited keywords
run: "invoke main.scan"