As filed in #18, this Action currently doesn't run in a nodejs environment and does not have access to node. Therefore tools like husky currently can't be used.
I've thought about this issue for quite a while now and can see that it would be beneficial for users, if they could use the Action in any environment. (In addition, it would make it easier to add a test suite to the project).
However, I'm also not the biggest fan of converting this Action into a JavaScript project. The code is currently quite simple and does it's job well (It's basically just a shell script with ~50 lines of code). Converting it into JS or even TS requires to add a build process and updating JS dependencies if they become a security thread.
My bandwith is currently limited, as I work on other projects. And as I mentioned, the Action already works for 80% of usecases.
For me or for other users who would like to make this change happen here are some notes:
- Write Action preferrably in JavaScript and not in TypeScript, so more users can contribute
- Use one of the following libraries to interact with Git
- Make the process of building the JS file and creating a new release as easy as possible (maybe even use a GitHub Action for that)
As filed in #18, this Action currently doesn't run in a nodejs environment and does not have access to
node. Therefore tools likehuskycurrently can't be used.I've thought about this issue for quite a while now and can see that it would be beneficial for users, if they could use the Action in any environment. (In addition, it would make it easier to add a test suite to the project).
However, I'm also not the biggest fan of converting this Action into a JavaScript project. The code is currently quite simple and does it's job well (It's basically just a shell script with ~50 lines of code). Converting it into JS or even TS requires to add a build process and updating JS dependencies if they become a security thread.
My bandwith is currently limited, as I work on other projects. And as I mentioned, the Action already works for 80% of usecases.
For me or for other users who would like to make this change happen here are some notes: