What this thread does
The problem
An Actions run fails creating a PR, saving a cache or uploading an artifact. Choose between repository policy, file matching and upload connectivity. A permissions change cannot repair an empty cache glob or stalled blob transfer.
Versions and scope — checked 2026-10-20
| Component | Scope used here | Official source |
|---|---|---|
| create-pull-request | v6, the reproduction's line, not a latest-release claim | README at v6 |
| Custom cache action | Official tracker reports @actions/cache 6.2.0 with @actions/glob 0.6.1, Rollup ESM on Windows. SDK packages, not actions/cache action tags. | Toolkit #2484 |
| upload-artifact | v4, the reported line and versioned README; patch unstated | README at v4 |
SDK numbers are reporter metadata on the official project tracker, not independently verified release pins. No price or licence claim is needed.
Which repair should I choose?
| Stage | Boundary | First discriminating check |
|---|---|---|
| PR creation | Repository/organization policy | Separate create-and-approve setting plus job token scopes |
| Cache save, no files | Path creation or glob matching | Directory exists at save time and glob matches it |
| Artifact transfer after files found | Upload/network | Blob-storage error and runner egress |
Error: GitHub Actions is not permitted to create or approve pull requests.
The exact message above appears in #2767. Token scopes alone do not override the separate repository policy. Maintainer peter-evans directed reporter nvuillam to enable the create-and-approve setting; the reporter confirmed success.
Inspect without changing settings:
gh api repos/OWNER/REPO/actions/permissions/workflow
gh run view RUN_ID --repo OWNER/REPO --log-failed
An authorized administrator should open Settings → Actions → General → Workflow permissions, enable Allow GitHub Actions to create and approve pull requests, and save. If inherited policy prevents this, the organization owner must resolve it. Grant the PR-writing job the needed contents and pull-requests write permissions as documented by the action, then rerun after reviewing the change.
Do not grant write-all, switch to a broad personal token, or use pull_request_target to evade policy. Generic fork-token 403 errors belong to the integration-permissions thread.
Sources, checked 2026-10-20: GitHub policy docs, v6 permissions guidance, maintainer answer and reporter confirmation #2767.
Path Validation Error: Path(s) specified in the action for caching do(es) not exist
This exact prefix is verified. Toolkit source adds , hence no cache is being saved. when resolved cache paths are empty. First check for absent output, incorrect working directory or a bad path expression. Immediately before cache saving, replace build-cache below with the configured relative path:
node -e 'const fs=require("node:fs"); console.log(process.cwd()); console.log(fs.existsSync("build-cache"))'
Correct the path or make its producing step finish before saving. If files exist but a custom JavaScript action's glob finds nothing only after ESM bundling on Windows, inspect the bundle. Reporter james-mcgonegal-sage's #2484 reproduction traces an unconverted conditional require to a POSIX-separator fallback. Their narrow workaround is commonjs({ ignoreTryCatch: id => id !== 'path' }) in the Rollup plugin config. Official plugin docs confirm this option controls conditional require conversion. Rebuild with installed tooling, e.g. pnpm exec rollup --config rollup.config.js, then compare node test.js and node bundle.js using the same glob fixture on Windows.
Do not apply a custom-bundle workaround to every actions/cache workflow, change drives without evidence, or claim an SDK upgrade is confirmed to fix this. No fetched maintainer answer confirms the workaround.
Sources, checked 2026-10-20: toolkit implementation, reporter's reproduction #2484, official CommonJS option.
Error: Upload progress stalled.
This exact message appears in hayesOw's #740 report and an independent same-error reply. The artifact transfer stops progressing; the original report also records write EPIPE uploading to blob storage from a self-hosted macOS runner. It establishes neither a single root cause nor a successful fix.
Inspect the failing job, redacting sensitive URLs before sharing:
gh run view RUN_ID --repo OWNER/REPO --log-failed
curl -I --connect-timeout 10 https://results-receiver.actions.githubusercontent.com
Even a non-success HTTP response can establish basic DNS/TLS/HTTP reachability; this probe does not verify signed blob uploads. Have the runner operator check outbound HTTPS to the actual blob hostname in the redacted log and GitHub's documented results receiver, including proxy/firewall rules. Repair blocked egress if confirmed, retry a small artifact from that runner and compare with a hosted runner. This is a diagnostic experiment, not a proven fix for #740.
Do not disable TLS checks, post signed URLs, or present increased concurrency or timeouts as confirmed fixes. The original reporter says changing concurrency did not help.
Sources, checked 2026-10-20: hayesOw's report #740, v4 firewall warning, official runner egress list.
Recommendation and prompt for the agent
Change one boundary at a time: policy for PR creation, path or custom bundle for cache saving, upload connectivity for stalls. Keep before/after logs and verify the original failing step.
Read each linked official source and relevant issue before proposing a fix; do not guess from an error title. Identify exact action refs, SDK versus action versions, event, runner and failing stage. Give the smallest diff, administrator action and verification command. Label reporter workarounds and unresolved causes. Do not expose tokens or signed URLs, widen permissions globally or execute untrusted PR code.
Limits
No workflow, Rollup reproduction or upload was executed. All three requested strings were fetched and verified; none were dropped. Community evidence is three independent GitHub reports, with a maintainer-confirmed repair only for PR policy. The policy maintainer answer was confirmed by the reporter. SDK release metadata, cache workaround and artifact-stall root cause were not independently verified.
Started from a post by @nvuillam, packaged by the editor. Original post