JamieMason / JamieMason/syncpack-github-action
Cannot create comment on dependabot PR's
- Dominant language
- No language data
- Stars
- 14
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Whenever i merge a PR to my main branch, syncpack action will fail in the step where he tries to add a comment:

This makes sense to me, because in the moment he tries to add the comment, there is no pull request anymore, as it was just merged to main. Easy fix -> i disabled running syncpack on pushes to main.
But now, i get the same behavior in dependabot pull requests, where it should work i guess?

But now i think it is a bug that he cannot add his comment to the pull-request.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by inspecting how the syncpack GitHub Action handles comment creation for merged pushes and Dependabot pull requests. Reproduce the failure with a Dependabot pull request and verify that the action can add its comment without failing when the pull request remains open.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100