Skip to content

feat(ai-step): refresh github credential without a session - #380

Merged
Piotr1215 merged 1 commit into
mainfrom
d73a/refresh-bearer
Nov 12, 2026
Merged

Piotr1215 merged 1 commit into
mainfrom
d73a/refresh-bearer

Conversation

@Piotr1215

Copy link
Copy Markdown
Contributor

Summary

Anvesh's dry run on loft-sh/ai-agents#223 encountered an 87-minute-old GitHub bearer. Add a renewal-only entry point that reuses the scoped GitHub App credential and starts no agent session. The companion schedule runs about 36 times a day and has no model cost.

Test plan

  • ai-step pytest: 95 passed; bats: 42 passed
  • zizmor on the new action: no findings; generated docs check passed
  • Repository-wide lint reports an existing dangerous-triggers finding in .github/workflows/claude.yml.

Dry runs can reach an expired GitHub MCP bearer between flake fixer runs. Provide a renewal-only entry point so a scheduled job can keep the existing scoped app credential current without starting a model session.
@Piotr1215
Piotr1215 requested a review from a team as a code owner November 11, 2026 22:16
@Piotr1215
Piotr1215 merged commit 3a66bdd into main Nov 12, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant