-
Notifications
You must be signed in to change notification settings - Fork 26
Description
What is the bug?
I have an issue where I’m trying to integrate a github action (https://github.com/flowwer-dev/pull-request-stats) that should add a comment with PR stats to every PR. I’ve been trying to make it work with PRs opened against main, but it was failing due to permissions (https://github.com/opensearch-project/search-processor/actions/runs/3766987233/jobs/6404075146). I also created two branches in the repo and made a PR from one to the other. That one succeeded: (#62). It’s strange to me that a PR to main would have different permissions than a PR to a different branch and I'm not sure where to go from there.
How can one reproduce the bug?
Steps to reproduce the behavior:
- Enable the (Pull Request Stats)[https://github.com/opensearch-project/search-processor/actions/workflows/pr_stats.yml]
- Create a PR to merge to main
- Watch the check fail like in: https://github.com/opensearch-project/search-processor/actions/runs/3766987233
What is the expected behavior?
A comment should be added to the PR like #62 (comment)
What is your host/environment?
N/A
Do you have any screenshots?
No, but the logfile with error is here: logs_561.zip
Do you have any additional context?
Add any other context about the problem.