chore(CI): use app token in discover-lean-pr-testing workflow#1654
Closed
chore(CI): use app token in discover-lean-pr-testing workflow#1654
Conversation
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>
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>
Collaborator
Author
|
Superseded by #1655 |
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.
This workflow was using the default
GITHUB_TOKENto push merges to thenightly-testingbranch. Pushes made withGITHUB_TOKENdo not triggerother 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-testingGitHub Apptoken, matching the other nightly-testing workflows (
nightly_merge_master.yml,nightly_bump_toolchain.yml,nightly_detect_failure.yml). Pushes made withGitHub App tokens do trigger CI.
🤖 Prepared with Claude Code