Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Do Not Try to Comment on Non-PR Builds (fixes #50) #53
Thanks for the work on this! There's a new environment variable named
Best to wrap the entire attempt to post a comment around that variable instead.
In the event of a non-PR workflow, the actions would still attempt to post output to the non-existent PR URL. This change will prevent comments from being published when running the action against a PR.