Closed rpsu closed 2 years ago
I've seen this behavior too and opened an issue at https://github.com/sinedied/publish-devto/issues/18
Thanks for the report! If it's fixed in the CLI it will also fix it for the GitHub Action, I'll have a look
Hey! Since I didn't know if you were still maintaining this, I forked and fixed it here, in this commit: https://github.com/cloudx-labs/publish-devto/commit/0235a3f1238c369904ac72026bddbe6a071ef0a2
In that repo I also added support for dry-run in the github action, and added output parameters so other actions can do stuff with the summary of actions taken. For example, in my usage, I'm using an output summary of a dry-run which I post as a comment in the PR, to inform of the changes that would be published.
Its fixed thanks to @pabloromeo's PR 😉
I'll soon release an updated version of the GitHub action, but I could also include your work on dry-run and output summary if you would like to propose it as a PR?
The publish.yml workflow tries to make a git commit even when it appears like there is nothing to commit. This appears to happens when I've published the posts from my local and the CI updates posts.
and the
publish.yml
file I have: