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

docs: update example GA workflow with PR comment #206

Merged
merged 2 commits into from Oct 10, 2022

Conversation

yafanasiev
Copy link
Contributor

Hey there! Thanks for the awesome action!

When trying out the example workflow for adding comments To PR from README, I noticed that sometimes I still see the comment in PR with empty error message, which disappears after reloading the page. This is of course due to Github's finicky synchronisation, but what really happens is that comment is created each time the workflow is run but then delete immediately if PR title validation passes. This PR improves this logic by adding additional condition to only create PR comment if Semantic PR action had actually failed.

Copy link
Owner

@amannn amannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's really good to know—thank you for taking the time to fix the example!

Would you mind updating the workflow we have for testing this in this repo while you're at it?

@yafanasiev
Copy link
Contributor Author

@amannn sure! Updated the PR

Copy link
Owner

@amannn amannn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! 🙌

@amannn amannn merged commit b314c1b into amannn:main Oct 10, 2022
@github-actions
Copy link

🎉 This PR is included in version 5.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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 this pull request may close these issues.

None yet

2 participants