-
Notifications
You must be signed in to change notification settings - Fork 1
Fix/setup api client coverage gaps #1189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
73525e1
626e159
597b098
ade45b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -393,8 +393,17 @@ jobs: | |||||||||||
| with: | ||||||||||||
| sparse-checkout: | | ||||||||||||
| .github/scripts/github-api-with-retry.js | ||||||||||||
| .github/actions/setup-api-client | ||||||||||||
| .github/scripts/github-rate-limited-wrapper.js | ||||||||||||
| .github/scripts/token_load_balancer.js | ||||||||||||
| sparse-checkout-cone-mode: false | ||||||||||||
|
|
||||||||||||
| - name: Setup API client | ||||||||||||
| uses: ./.github/actions/setup-api-client | ||||||||||||
| with: | ||||||||||||
| secrets: ${{ toJSON(secrets) }} | ||||||||||||
| github_token: ${{ github.token }} | ||||||||||||
|
||||||||||||
| github_token: ${{ github.token }} | |
| github_token: ${{ github.token }} | |
| service_bot_pat: ${{ secrets.service_bot_pat }} | |
| gh_app_id: ${{ secrets.gh_app_id }} | |
| gh_app_private_key: ${{ secrets.gh_app_private_key }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| workflow,job,github_script_count,has_setup_api_client,coverage_status,fix_status,fix_pr,fix_date,notes | ||
| agents-autofix-loop.yml,metrics,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added sparse-checkout deps + setup-api-client step | ||
| agents-bot-comment-handler.yml,cleanup,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added sparse-checkout deps + setup-api-client step | ||
| reusable-10-ci-python.yml,logs_summary,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added checkout + setup-api-client (was missing checkout) | ||
| reusable-16-agents.yml,preflight,3,Yes,Covered,Fixed,PR#1189,2026-02-02,Added sparse-checkout deps + setup-api-client step | ||
| reusable-16-agents.yml,verify_issue_summary,2,No,FALSE_POSITIVE,N/A,,,Uses github-script but only writes to core.summary - no API calls | ||
| reusable-20-pr-meta.yml,keepalive_dispatch,1,Yes,Covered,Existing,PR#1183,,Already had setup-api-client via consumer checkout | ||
| reusable-20-pr-meta.yml,keepalive_orchestrator,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added workflows-lib sparse-checkout + setup-api-client | ||
| reusable-20-pr-meta.yml,keepalive_from_gate,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added workflows-lib sparse-checkout + setup-api-client | ||
| reusable-20-pr-meta.yml,pr_body_update,2,Yes,Covered,Fixed,PR#1189,2026-02-02,Added workflows-lib sparse-checkout + setup-api-client | ||
| reusable-bot-comment-handler.yml,dispatch,1,Yes,Covered,Fixed,PR#1189,2026-02-02,Added sparse-checkout deps + setup-api-client step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
workflow_calldefinesservice_bot_patas a lower-case secret name, butsetup-api-client’stoJSON(secrets)parsing only extractsSERVICE_BOT_PAT(upper-case). As a result this step won’t export the service bot token unless you also pass the action’sservice_bot_patinput (or update parsing to handle lower-case keys).