diff --git a/docs/getting-started.md b/docs/getting-started.md index 1c20ce2..b17674e 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -54,8 +54,9 @@ jobs: both. `auto-fix` commits the clang-format fixes to the branch and needs `contents: write`. - The action does not fail the job by itself; the last step does, using the `checks-failed` output. -- Pull requests from forks get a read-only token: annotations still appear, but reviews are not - posted, and `thread-comments` would fail the step. Draft pull requests get no review. +- Pull requests from forks get a read-only token: annotations still appear, but reviews and + `thread-comments` are not posted. The [PR comments from forks](https://cpp-linter.github.io/cpp-linter-action/examples/) recipe + posts the comment from a second workflow. Draft pull requests get no review. The [action docs](https://cpp-linter.github.io/cpp-linter-action/) list every input, output and permission. [Moving to cpp-linter](blog/posts/2026-09-12-moving-to-cpp-linter.md) shows a diff --git a/docs/overrides/home.html b/docs/overrides/home.html index cf1af56..7b782cb 100644 --- a/docs/overrides/home.html +++ b/docs/overrides/home.html @@ -324,7 +324,7 @@

Annotations

Thread Comment

thread-comments -

Set thread-comments: update and one comment lists the results, edited on each push while there are findings. It is posted by github-actions[bot] or your own App, and needs pull-requests: write, so it fails on pull requests from forks.

+

Set thread-comments: update and one comment lists the results, edited on each push while there are findings. It is posted by github-actions[bot] or your own App, and needs pull-requests: write, so pull requests from forks need a second workflow to post it.