Coverage action failing on external PRs

Open
#231 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd

Research direction

Inspect the workflow that runs coverage and posts comments on external pull requests. Reproduce the permission error from an external PR, then verify that the workflow can create its coverage comment successfully with the required pull-request permission.

Written by the indexing model from the issue text.

Description

Error: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment

Probably need to add permissions to the token:

jobs:
  job-name:
    permissions:
      pull-requests: write
Dominant language
Python
Stars
10
Forks
5
Avg merge
4d 8m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

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.

More from Flagsmith/flagsmith-engine

All issues in Flagsmith/flagsmith-engine

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.