Skip to content

chore(CI): use app token in discover-lean-pr-testing workflow#1654

Closed
kim-em wants to merge 1 commit intomainfrom
fix-discover-lean-pr-testing-token
Closed

chore(CI): use app token in discover-lean-pr-testing workflow#1654
kim-em wants to merge 1 commit intomainfrom
fix-discover-lean-pr-testing-token

Conversation

@kim-em
Copy link
Copy Markdown
Collaborator

@kim-em kim-em commented Feb 4, 2026

This workflow was using the default GITHUB_TOKEN to push merges to the
nightly-testing branch. Pushes made with GITHUB_TOKEN do not trigger
other workflows (by design, to prevent infinite loops), which meant CI
wasn't running after these merges.

This changes the workflow to use the mathlib-nightly-testing GitHub App
token, matching the other nightly-testing workflows (nightly_merge_master.yml,
nightly_bump_toolchain.yml, nightly_detect_failure.yml). Pushes made with
GitHub App tokens do trigger CI.

🤖 Prepared with Claude Code

This workflow was using the default `GITHUB_TOKEN` to push merges to the
`nightly-testing` branch. Pushes made with `GITHUB_TOKEN` do not trigger
other workflows (by design, to prevent infinite loops), which meant CI
wasn't running after these merges.

This changes the workflow to use the `mathlib-nightly-testing` GitHub App
token, matching the other nightly-testing workflows. Pushes made with
GitHub App tokens do trigger CI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions bot added the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 4, 2026
kim-em added a commit to kim-em/mathlib4 that referenced this pull request Feb 4, 2026
This workflow is being updated in
leanprover-community/batteries#1654 to use the
mathlib-nightly-testing app token.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kim-em
Copy link
Copy Markdown
Collaborator Author

kim-em commented Feb 4, 2026

Superseded by #1655

@kim-em kim-em closed this Feb 4, 2026
@github-actions github-actions bot removed the awaiting-review This PR is ready for review; the author thinks it is ready to be merged. label Feb 4, 2026
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