Repository navigation
feat(heart): heart-health reads cross-repo with the pyautolabs-bot App (token phase 2a) - #317
Merged
Merged
Conversation
heart-health.yml mints a pyautolabs-bot token (actions, contents and pull-requests read, no repositories: scope) for the cloud checks, replacing the never-created HEART_TIMINGS_TOKEN and its silent fallback to GITHUB_TOKEN, so cross-repo artifact downloads stop answering 403. The wiring test now pins the mint and the absence of a fallback. Refs PyAutoLabs/PyAutoBrain#531 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Token consolidation phase 2a (PyAutoLabs/PyAutoBrain#531) for the Heart.
heart-health.ymlmints an owner-wide, read-onlypyautolabs-botApp token (actions, contents and pull-requests read; norepositories:) for the cloud checks. It replacesHEART_TIMINGS_TOKEN || GITHUB_TOKEN: that secret was never created, so cross-repo artifact downloads answered 403. The fallback is deleted, so a failed mint fails the job.Other changes:
||.smoke_timings.shandunit_timings.share reworded.GITHUB_TOKEN.API Changes
None (workflow auth change).
See full details below.
Test Plan
pytest tests -q: 1307 passedgh workflow run heart-health.yml; smoke/unit timing rows ingest cross-repo artifacts without 403Full API Changes (for automation & release notes)
Required configuration
vars.APP_CLIENT_ID,secrets.APP_PRIVATE_KEY(org level).secrets.HEART_TIMINGS_TOKEN(never existed).Heart readiness: YELLOW, acknowledged by the human before opening (manifest drift on one workspace checkout; PyAutoLens release validation stale — both unrelated to this change).
🤖 Generated with Claude Code