multi: Upgrade actions to github actions toolkit #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "npm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey ppl! Resolving the conversation in #32 here is the work for changing the Github Action from
compositetype tojavascripttype using the Github Actions Toolkit.Again, this change will help with:
GITHUB_ENVfor store configuration(a very bad practice that I generate in the actions projects).compositetype, which means we can upgrade the Actions with new features that communicate better with the Github Actions API.Observations:
distdirectory needs to be stored in github because of how Github Javascript Actions works, see the docs..jsfiles needs to be built by the scriptnpm run buildto generate a newdistfiles. Maybe we will need some Development README for future contributions.GOOD NEWS:
I did several tests that you can see here and everything is working well and transparent for users, this latest version of
compositeaction is fully compatible with this newjavascriptaction.If you agree and review this PR, I can start working in port the another ProjectDiscovery Actions.
I noticed that the github report doest work anymore because a new feature from
GITHUB_TOKEN. Now you need to setting the permission type before write your job, see more in github docs.This PR works fine with this new configuration, see the example:
Complete example here.
To-Do
I thought I had already reviewed it.
Thank you for the awesome work! 🚜