The README currently describes the "basic usage" as a 2 step process, where CI does not need/get permissions because pulled code is potentially untrusted. But the example does exactly that:
# .github/workflows/ci.yml
...
permissions:
# Gives the action the necessary permissions for publishing new
# comments in pull requests.
pull-requests: write
# Gives the action the necessary permissions for pushing data to the
# python-coverage-comment-action branch, and for editing existing
# comments (to avoid publishing multiple comments in the same PR)
contents: write
My understanding is that these permissions should only go in .github/workflows/coverage.yml. Is there a misunderstanding on my side or should the docs be adjusted?