JamieMason / JamieMason/syncpack-github-action

Cannot create comment on dependabot PR's

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
help wanted
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:

Screenshot 2022-11-16 at 07 59 09

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?

Screenshot 2022-11-16 at 08 02 17

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.