-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improve short sha #93
Conversation
f8d40da
to
4b302a0
Compare
This is a naive implementation that simply counts commits for given SHA. Git actually counts all the objects in repository, so a better approximation would at least use the repo's default branch instead of current SHA, but I don't expect this action to be used on old commits much. There's still no checking if provided short-sha is unique or not.
4b302a0
to
a60cdfd
Compare
Sorry, I've got no clue why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pull request, and sorry for the late reply!
Before merging, could you run deno task build
to update dist/actions.js
and dist/cli.js
, and then commit those changes, which should make the Build / build
action pass.
The |
I’m not sure why the |
No description provided.