Giter VIP home page Giter VIP logo

Comments (6)

pabloromeo avatar pabloromeo commented on May 28, 2024 1

Sure thing, here you go: #20

from publish-devto.

sinedied avatar sinedied commented on May 28, 2024 1

@pabloromeo The GitHub Action is updated (still under v2 tag), and I also updated the template repo to include your changes and ideas with PR reviews: https://github.com/sinedied/devto-github-template/blob/main/.github/workflows/publish.yml
🙂

from publish-devto.

ksingh7 avatar ksingh7 commented on May 28, 2024

+1 @pabloromeo i am too facing the same issue.

@sinedied Even though the posting/updating job is successful, the GHA fails with this error message. This is a great tool would be nice if you can help in fixing this ( i don't know how to fix, otherwise if have send you thee PR)

image

from publish-devto.

sinedied avatar sinedied commented on May 28, 2024

Thanks for reporting this, I'll have a look. I'll have to catch this specific use case to avoid throwing an error

from publish-devto.

pabloromeo avatar pabloromeo commented on May 28, 2024

Hey!
Since I didn't know if you were still maintaining this, I forked and fixed it here, in this commit:
cloudx-labs@0235a3f

I solved it by evaluating the result of git status prior to the commit, to doing it when the workdir is clean.

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.

from publish-devto.

sinedied avatar sinedied commented on May 28, 2024

@pabloromeo That's great! Could you submit a PR with your change? I'll gladly merge it 🙂

from publish-devto.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.