Giter Site home page Giter Site logo

Comments (12)

Disservin avatar Disservin commented on June 19, 2024 3

@diegomarotosofttek

The v1 is from Nov 21, 2022, wtf. Using in our workflows a commit sha or a branch name doesn't feel very comfortable. Why creating a new release to establish a new version point for users is a discussion? It is currently the standard in actions and composites usage, they are easier to identify, to use, to document... everything.

I don't think anyone is against a release, the maintainer just hasn't done one so far but the current state is usable. You are also making the commit sha pinning sound overdramatic.. GitHub explicitly recommends it in their security guide, and you can easily just drop a comment next to the sha saying that it's the commit sha for tag x or the node 20 update commit...

Making a fork with with a separate release to just be able to pin to a tag is just way too much.

https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Pin actions to a full length commit SHA

from action-gh-release.

softprops avatar softprops commented on June 19, 2024 3

Closing the loop on this issue this issue along with a number of other now merged prs addressing other features and bugs are included in a new v2 tag

from action-gh-release.

Disservin avatar Disservin commented on June 19, 2024 2

A temporary solution is suggested in #406 (comment), but I'm not sure if the proper action of tagging a new release would be taken soon.

btw you should anyway pin by commit sha instead of version tag, see https://blog.rafaelgss.dev/why-you-should-pin-actions-by-commit-hash. There is also some official GitHub doc on this..

from action-gh-release.

Disservin avatar Disservin commented on June 19, 2024 2

I see in this repo that it already update to node20. Meanwhile waiting for official release from the owner repository, we can fork this repository then change it with own.

E.g.

# official
softprops/action-gh-release@v1
# our fork
{yourusername}/{fork-of-repository-name}@{ref}
# example of our fork
kresnasatya/action-gh-release@main

But why …? Just use the commit sha

from action-gh-release.

cderv avatar cderv commented on June 19, 2024 2

#406 solved the deprecation issue, reported already in #404. This issue here is just a duplicate - only because the new tag has not been made. I believe reading thread in #406 will help understand the current context and situation of maintenance.

We should just be patient, and using commit sha for action is definitely a good practice, recommended by Github as mentioned just above.

from action-gh-release.

diegomarotosofttek avatar diegomarotosofttek commented on June 19, 2024 1

The v1 is from Nov 21, 2022, wtf. Using in our workflows a commit sha or a branch name doesn't feel very comfortable. Why creating a new release to establish a new version point for users is a discussion? It is currently the standard in actions and composites usage, they are easier to identify, to use, to document... everything.

from action-gh-release.

diegomarotosofttek avatar diegomarotosofttek commented on June 19, 2024 1

@softprops thank you for the work!

from action-gh-release.

mrz1836 avatar mrz1836 commented on June 19, 2024

This is also happening to me. Is there a newer updated fork of this repo that anyone is using? Not sure if this repo is getting updated anymore.

from action-gh-release.

akinomyoga avatar akinomyoga commented on June 19, 2024

The migration seems to have already been merged in #406 a week ago, but somehow the new version is not tagged. A temporary solution is suggested in #406 (comment), but I'm not sure if the proper action of tagging a new release would be taken soon.

from action-gh-release.

caquino avatar caquino commented on June 19, 2024

@softprops sorry to bother but would be possible to have a new version tagged with node20 change?

from action-gh-release.

kresnasatya avatar kresnasatya commented on June 19, 2024

I see in this repo that it already update to node20. Meanwhile waiting for official release from the owner repository, we can fork this repository then change it with own.

E.g.

# official
softprops/action-gh-release@v1
# our fork
{yourusername}/{fork-of-repository-name}@{ref}
# example of our fork
kresnasatya/action-gh-release@main

from action-gh-release.

kresnasatya avatar kresnasatya commented on June 19, 2024

I see in this repo that it already update to node20. Meanwhile waiting for official release from the owner repository, we can fork this repository then change it with own.
E.g.

# official
softprops/action-gh-release@v1
# our fork
{yourusername}/{fork-of-repository-name}@{ref}
# example of our fork
kresnasatya/action-gh-release@main

But why …? Just use the commit sha

Yes, it's possible to use commit sha too. I just give another option beside commit sha.

from action-gh-release.

Related Issues (20)

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.