Skip to content

Commit

Permalink
Add tip about repo permissions to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gwatts committed Mar 23, 2024
1 parent 0a240ad commit c36082f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -24,6 +24,10 @@ The workflow:

Your subsequent steps can then publish the report HTML somewhere, save it as an artifact or generate report graphs etc.

**Important**: Ensure your actions have permission to write to the repo, so that the coverage data added to a git note can be stored. To do this, edit the settings for the repo where you wish to run the action, select "Actions" -> "General" on the left and ensure "Read and write permissions" are selected under "Workflow permissions".

You'll receive an error similar to `Error: Command failed with exit code 128: git push origin refs/notes/gocoverage` if the above isn't in place.


### Example Comment

Expand Down

0 comments on commit c36082f

Please sign in to comment.