tylermilner / last-successful-commit-hash-action Goto Github PK
View Code? Open in Web Editor NEWGitHub Action to get the commit hash of the last successful run for a given workflow and branch.
License: MIT License
GitHub Action to get the commit hash of the last successful run for a given workflow and branch.
License: MIT License
Maybe use Danger to help enforce edits to CHANGELOG.md
when source changes are made.
There are some linter overrides in main.js
that need to be fixed.
Improve REAMDE with some additional info:
The action is currently being tested by the ci
workflow, but we should add some proper unit tests.
See the example in the GHA javascript-action template.
One possible approach is suggested in https://docs.github.com/en/actions/creating-actions/releasing-and-maintaining-actions:
dist
folder automatically when a release is published to GitHub.dist
folder (i.e. added to gitignore) so that the action is only built by CI upon release, which is probably better from a security standpoint.contents: write
permission defined in the workflow.Another approach might be softprops/action-gh-release.
This looks interesting for drafting releases as well: https://github.com/release-drafter/release-drafter.
Another one to look at (though it's for a composite action example): https://github.com/cloudposse/github-actions-workflows-github-action-composite
We're using core.debug()
statements now, but there are some improvements that can be made.
First, using the action's debug
input is no longer working, since core.debug()
output is suppressed unless debug logging is enabled for the repository:
We also need to remove the core.debug()
statements from the if (debug)
blocks.
I still think it's nice to have some debugging functionality that doesn't rely on the ACTIONS_STEP_DEBUG
environment variable for quick testing and letting users enable debugging for a single action instead of the whole workflow run. We should look into examples of how other actions have enabled a debug mode via regular input parameters.
It could use a few comments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.