android / android/nowinandroid

[CI] Code coverage report not shown when PR is generated from fork

Open
#1,360 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
21.8k
Forks
4.6k
Avg merge
19h 20m
Merged PRs (30d)
2

Description

As seen here https://github.com/android/nowinandroid/pull/1359

`Error: HttpError: Resource not accessible by integration`

We probably need to add
```
permissions:
pull-requests: write
```

to that job.

Contributor guide

Open the contributing guide

Research direction

Find the GitHub Actions workflow job that publishes the code coverage report for pull requests, then reproduce or inspect the fork-based failure shown in PR #1359. Verify the job's pull-request permissions and confirm that coverage is posted successfully for a pull request from a fork.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.