leeyspaul opened a new pull request, #66753: URL: https://github.com/apache/airflow/pull/66753
Add required-scope metadata to Breeze GitHub token retrieval call sites so missing-token guidance can tell users which scope a manually created token needs. This is guidance-only: it does not create tokens, validate scopes, or change token resolution order. Existing precedence remains explicit token, cleaned `gh auth token`, then token env fallback. Related: #55567 Tests: - `uv run --project dev/breeze pytest dev/breeze/tests/test_github_utils.py -xvs` - `uv run ruff format dev/breeze/src/airflow_breeze/commands/ci_commands.py dev/breeze/src/airflow_breeze/commands/issues_commands.py dev/breeze/src/airflow_breeze/commands/release_management_commands.py dev/breeze/src/airflow_breeze/utils/github.py dev/breeze/src/airflow_breeze/utils/provider_dependencies.py dev/breeze/tests/test_github_utils.py` - `uv run ruff check --fix dev/breeze/src/airflow_breeze/commands/ci_commands.py dev/breeze/src/airflow_breeze/commands/issues_commands.py dev/breeze/src/airflow_breeze/commands/release_management_commands.py dev/breeze/src/airflow_breeze/utils/github.py dev/breeze/src/airflow_breeze/utils/provider_dependencies.py dev/breeze/tests/test_github_utils.py` - `git diff --check` --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — GPT-5.5 Generated-by: GPT-5.5 following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
