Repository navigation
Tags: astral-sh/ruff-action
Tags
Add option to skip Astral mirror downloads (#387) ## Summary - add `download-from-astral-mirror` input defaulting to `true` - skip mirror URL rewriting and download directly from GitHub Releases when disabled - document the input and add unit coverage Fixes #384 Refs: pi-session 019f31bc-bd1c-7276-9b4e-9734fa0aa367 ## Testing - npm run build - npm run check - npm run test:unit
fix: persist credentials for git push in update-major-minor-tags work… …flow (#312) ## Problem After upgrading to `actions/checkout@v6`, the `update-major-minor-tags` workflow fails with: ``` fatal: could not read Username for 'https://github.com': No such device or address ``` Example: https://github.com/astral-sh/ruff-action/actions/runs/21509988231/job/61974754475 ## Root Cause `actions/checkout@v6` changed the behavior of `persist-credentials: false`. In v6, credentials are immediately cleaned up after checkout, whereas in v5 they remained available during the job. The workflow sets `persist-credentials: false` and then tries to `git push` — but the auth credentials are already gone. ## Fix Explicitly set `persist-credentials: true` (removing the `false` value). The workflow already has minimal permissions (`contents: write`) scoped only to this job, so this is safe. Added a `zizmor: ignore[artipacked]` comment in case the security linter flags this pattern.
PreviousNext