mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-19 07:01:12 +00:00
actions/checkout: retry transient API failures
Retry transient GitHub API failures when resolving ci/pinned.json so unrelated PR jobs can continue. Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
This commit is contained in:
1
.github/actions/checkout/action.yml
vendored
1
.github/actions/checkout/action.yml
vendored
@@ -19,6 +19,7 @@ runs:
|
||||
TARGET_SHA: ${{ inputs.target-as-trusted-at }}
|
||||
PIN_BUMP_SHA: ${{ inputs.untrusted-pin-bump }}
|
||||
with:
|
||||
retries: 3
|
||||
script: |
|
||||
const { rm, writeFile } = require('node:fs/promises')
|
||||
const { spawn } = require('node:child_process')
|
||||
|
||||
Reference in New Issue
Block a user