nunit / nunit/docs

PRs fail in Update Preview link comment

Open
#1,045 6 comments 0 reactions 0 assignees View on GitHub

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
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.