Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR comment behavior #1178

Closed
janniclas opened this issue Sep 9, 2024 · 0 comments · Fixed by #1181
Closed

PR comment behavior #1178

janniclas opened this issue Sep 9, 2024 · 0 comments · Fixed by #1181

Comments

@janniclas
Copy link

Hi,
I'm currently running v5.0.0-a02 with the comment and update comment feature.
Everything works as expected if executed on a PR. However, I have the same workflow for both PRs and push events on e.g. the main branch.
On push it looks like the action tries to find and update a PR comment (which doesn't exist as the workflow was triggered by a push event). This causes the whole pipeline to fail.
I'd expect the pipeline not to fail even if it might be unusual to execute this specific action on push instead of only for PRs. However, I don't think it is to unusual to have a common workflow for push events and PRs.

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant