From 6654ad4458096f9301ad800d247a532673adf58c Mon Sep 17 00:00:00 2001 From: Ev Haus Date: Mon, 30 May 2022 11:44:32 -0700 Subject: [PATCH 1/2] Update troubleshooting recommendations Added some additional info on how to troubleshoot issues with GH Actions not adding comments on your repository --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 80023388..70628bcd 100644 --- a/README.md +++ b/README.md @@ -128,12 +128,16 @@ The "Coveralls Finished" step needs to run after all other steps have completed; ### Coveralls comments aren't added to my pull request -Ensure your workflow that invokes the Coveralls action runs on pull requests, e.g.: +Ensure that: + +1. Your workflow invokes the Coveralls action runs on pull requests, e.g.: ```yaml on: ["push", "pull_request"] ``` +2. You have invited the [@coveralls](https://github.com/coveralls) user to your repository as a collaborator + ### Coveralls responds with "cannot find matching repository" Ensure your workflow yaml line for the GitHub token matches *exactly*: From b3e0f1ec504dffd372718fb26bf6f4a3f676f331 Mon Sep 17 00:00:00 2001 From: Ev Haus Date: Mon, 30 May 2022 11:47:15 -0700 Subject: [PATCH 2/2] One more check --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 70628bcd..5fb2c00c 100644 --- a/README.md +++ b/README.md @@ -137,6 +137,7 @@ on: ["push", "pull_request"] ``` 2. You have invited the [@coveralls](https://github.com/coveralls) user to your repository as a collaborator +3. You have enabled the "LEAVE COMMENTS?" setting in the "Pull Request Alerts" area in your Repo Settings page inside the Coveralls app. ### Coveralls responds with "cannot find matching repository"