PRs fail in Update Preview link comment
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 600
- Forks
- 158
- Avg merge
- 16h 8m
- Merged PRs (30d)
- 21
Description
It seem like all PRs fail in the build step Update Preview link comment below Netlify Preview (PR only). The error is
Error: The template is not valid. .github/workflows/build-process.yml (Line: 124, Col: 20): Error reading JToken from JsonReader. Path '', line 0, position 0.
From the error message it seems like the netlify step did not produce any output, so that steps.netlify.outputs.NETLIFY_OUTPUT is the empty string.
E.g. in
https://github.com/nunit/docs/actions/runs/15324470078/job/43115457653?pr=1044
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with .github/workflows/build-process.yml at line 124 and inspect the Netlify Preview (PR only) step in the linked failing workflow run. Trace the value of steps.netlify.outputs.NETLIFY_OUTPUT and reproduce the Update Preview link comment failure; done means the PR workflow completes that step without the template or JSON parsing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100