w3cj and Claude Opus 5.5
0c6ee50ff5
fix(bump): GitHub's API calls send the workflow's token
...
The Pins workflow's run on 30 November failed right after nix with
"curl: (22) The requested URL returned error: 403". The next call was
direnv's gh_latest, an unauthenticated curl to api.github.com: GitHub
allows 60 of those an hour from one address, which a hosted runner
shares with other jobs, and answers 403 once they're spent. The workflow
already set GH_TOKEN and GITHUB_TOKEN for gh, but curl never sent them.
gh_api now makes every GitHub API call (gh_latest, gh_head and Lima's
release), with GH_TOKEN or else GITHUB_TOKEN when one is set, written
to a header file in the run's temp folder (mode 600) and passed as
-H @FILE, so it's on no command line and goes to api.github.com alone.
A failed fetch now names its URL, which the failed run's log didn't.
bump.txtar's curl stub records the header files it reads, and the test
checks that GitHub's API gets GITHUB_TOKEN, and GH_TOKEN when both are
set, that for each no other URL and no argument gets it, that no call
has a header without one, and that a failed fetch names its URL. It
fails on the old script. Contributing's Updating pinned versions and
the Pins workflow's comment say so.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-11-30 23:15:59 -07:00
..
2026-11-12 20:47:48 -07:00
2026-11-08 10:05:41 -07:00
2026-11-08 00:54:10 -07:00
2026-11-18 15:32:47 -07:00
2026-11-18 11:37:40 -07:00
2026-11-18 11:37:40 -07:00
2026-11-29 22:53:34 -07:00
2026-11-30 23:15:59 -07:00
2026-11-05 15:55:21 -07:00
2026-11-14 23:15:36 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-15 19:36:28 -07:00
2026-11-12 12:30:46 -07:00
2026-11-12 11:54:42 -07:00
2026-11-12 11:54:42 -07:00
2026-11-25 07:43:53 -07:00
2026-11-25 07:43:53 -07:00
2026-11-25 07:43:53 -07:00
2026-11-15 22:04:32 -07:00
2026-11-12 11:49:48 -07:00
2026-11-06 06:16:29 -07:00
2026-11-18 23:07:04 -07:00
2026-11-25 07:43:53 -07:00
2026-11-19 07:45:34 -07:00
2026-11-25 00:03:05 -07:00
2026-11-25 07:43:53 -07:00
2026-11-15 19:36:28 -07:00
2026-11-12 17:27:34 -07:00
2026-11-29 22:53:34 -07:00
2026-11-18 23:07:04 -07:00
2026-11-18 23:07:04 -07:00
2026-11-19 07:45:34 -07:00
2026-11-25 07:43:53 -07:00
2026-11-15 19:36:28 -07:00
2026-11-18 19:59:14 -07:00
2026-11-25 07:43:53 -07:00
2026-11-18 19:59:14 -07:00
2026-11-18 19:59:14 -07:00
2026-11-25 07:43:53 -07:00
2026-11-15 19:36:28 -07:00
2026-11-15 22:04:31 -07:00
2026-11-25 07:43:53 -07:00
2026-11-03 07:56:29 -07:00
2026-11-29 22:53:34 -07:00
2026-11-05 15:54:43 -07:00
2026-11-05 11:49:57 -07:00
2026-11-02 14:25:09 -07:00
2026-11-05 14:32:06 -07:00
2026-11-05 15:54:43 -07:00
2026-11-29 22:57:15 -07:00
2026-11-05 15:54:43 -07:00
2026-11-05 15:54:43 -07:00
2026-11-08 16:34:40 -07:00
2026-11-15 19:36:28 -07:00
2026-11-09 07:20:00 -07:00
2026-11-07 19:16:30 -07:00
2026-11-05 15:54:43 -07:00
2026-11-18 13:57:45 -07:00
2026-11-25 00:03:05 -07:00
2026-11-25 00:03:05 -07:00
2026-11-25 07:43:53 -07:00
2026-11-05 15:54:43 -07:00
2026-11-30 21:36:37 -07:00
2026-11-30 21:36:37 -07:00
2026-11-25 07:43:53 -07:00
2026-11-25 07:43:53 -07:00
2026-11-03 20:09:29 -07:00
2026-11-04 14:57:10 -07:00
2026-11-29 22:53:34 -07:00
2026-11-05 12:10:45 -07:00
2026-11-18 23:07:04 -07:00
2026-11-05 15:54:43 -07:00
2026-11-05 15:54:43 -07:00
2026-11-05 15:54:43 -07:00
2026-11-25 07:43:53 -07:00
2026-11-25 07:43:53 -07:00
2026-11-02 14:25:09 -07:00
2026-11-16 12:39:29 -07:00
2026-11-25 07:43:53 -07:00
2026-11-05 15:54:43 -07:00
2026-11-12 20:42:43 -07:00
2026-11-08 21:38:23 -07:00
2026-11-08 21:38:23 -07:00
2026-11-12 23:38:24 -07:00
2026-11-15 22:04:32 -07:00
2026-11-25 07:43:53 -07:00
2026-11-18 23:07:04 -07:00
2026-11-05 01:52:45 -07:00
2026-11-04 15:57:21 -07:00
2026-11-25 07:43:53 -07:00
2026-11-11 22:29:46 -07:00
2026-11-18 23:07:04 -07:00
2026-11-18 23:07:04 -07:00
2026-11-12 17:46:30 -07:00
2026-11-05 15:54:43 -07:00
2026-11-15 22:04:32 -07:00
2026-11-30 21:36:37 -07:00
2026-11-30 21:36:37 -07:00
2026-11-08 16:34:40 -07:00
2026-11-05 11:49:57 -07:00
2026-11-30 21:36:37 -07:00
2026-11-29 23:41:10 -07:00
2026-11-07 11:36:20 -07:00
2026-11-30 21:36:37 -07:00
2026-11-29 23:41:10 -07:00
2026-11-05 15:54:43 -07:00
2026-11-25 00:03:05 -07:00
2026-11-25 07:43:46 -07:00
2026-11-25 00:03:05 -07:00
2026-11-06 00:35:59 -07:00
2026-10-24 01:19:09 -06:00
2026-11-05 15:54:43 -07:00
2026-11-08 21:38:23 -07:00
2026-11-08 21:38:23 -07:00
2026-11-05 16:48:53 -07:00
2026-11-15 19:36:28 -07:00
2026-11-04 15:55:01 -07:00
2026-11-29 22:53:34 -07:00
2026-11-15 22:04:31 -07:00
2026-11-15 19:36:31 -07:00
2026-11-20 11:27:28 -07:00
2026-11-05 15:54:43 -07:00
2026-11-25 07:43:53 -07:00
2026-11-24 16:16:12 -07:00
2026-11-07 08:33:56 -07:00
2026-11-29 22:57:15 -07:00
2026-11-25 07:43:53 -07:00
2026-11-05 16:48:53 -07:00
2026-11-08 10:05:59 -07:00
2026-11-05 15:54:43 -07:00
2026-11-25 07:43:53 -07:00
2026-11-25 07:43:53 -07:00
2026-11-30 21:36:37 -07:00
2026-11-01 02:55:59 -08:00