[Merged by Bors] - chore: use authenticated gh api in nightly bump workflow#35427
Closed
[Merged by Bors] - chore: use authenticated gh api in nightly bump workflow#35427
Conversation
Replace unauthenticated `curl` calls to GitHub API with `gh api`, which uses the app token already generated in the workflow. This avoids transient failures from hitting the unauthenticated rate limit (60 requests/hour). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR summary 32fe3f9354Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
This was referenced Feb 17, 2026
5a6a262 to
b135547
Compare
github-merge-queue bot
pushed a commit
to leanprover/cslib
that referenced
this pull request
Feb 17, 2026
This PR replaces unauthenticated `curl` calls to the GitHub API with `gh api` in the nightly bump workflow. The `gh api` command automatically uses the app token already generated in the workflow, avoiding transient failures from the unauthenticated rate limit (60 req/hour). See [this mathlib4-nightly-testing failure](https://github.com/leanprover-community/mathlib4-nightly-testing/actions/runs/22084056453/job/63814863096) for an example of the problem: the API returned a rate-limit error object instead of the expected array, and `jq` crashed trying to index it. Corresponding PRs: - leanprover-community/mathlib4#35427 - leanprover-community/batteries#1678 🤖 Prepared with Claude Code Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
github-merge-queue bot
pushed a commit
to leanprover/cslib
that referenced
this pull request
Feb 17, 2026
This PR replaces unauthenticated `curl` calls to the GitHub API with `gh api` in the nightly bump workflow. The `gh api` command automatically uses the app token already generated in the workflow, avoiding transient failures from the unauthenticated rate limit (60 req/hour). See [this mathlib4-nightly-testing failure](https://github.com/leanprover-community/mathlib4-nightly-testing/actions/runs/22084056453/job/63814863096) for an example of the problem: the API returned a rate-limit error object instead of the expected array, and `jq` crashed trying to index it. Corresponding PRs: - leanprover-community/mathlib4#35427 - leanprover-community/batteries#1678 🤖 Prepared with Claude Code Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
mathlib-bors bot
pushed a commit
that referenced
this pull request
Feb 17, 2026
This PR replaces unauthenticated `curl` calls to the GitHub API with `gh api` in the nightly bump workflow. The `gh api` command automatically uses the app token already generated in the workflow, avoiding transient failures from the unauthenticated rate limit (60 req/hour). The [first attempt of this run](https://github.com/leanprover-community/mathlib4-nightly-testing/actions/runs/22084056453/job/63814863096) failed because the API returned a rate-limit error object instead of the expected array, and `jq` crashed trying to index it. Corresponding PRs: - leanprover-community/batteries#1678 - leanprover/cslib#341 🤖 Prepared with Claude Code
Contributor
|
Pull request successfully merged into master. Build succeeded: |
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 PR replaces unauthenticated
curlcalls to the GitHub API withgh apiin the nightly bump workflow. Thegh apicommand automatically uses the app token already generated in the workflow, avoiding transient failures from the unauthenticated rate limit (60 req/hour).The first attempt of this run failed because the API returned a rate-limit error object instead of the expected array, and
jqcrashed trying to index it.Corresponding PRs:
🤖 Prepared with Claude Code