This document will help you in case you want to test your GitHub Action before deploying it. By installing and running this Action manually, you'll be able to control the environment variables that GitHub usually applies to the Action's container.
- Node.js (sorry ...)
- Copy
.env.dist
to.env
and set all the environment variables - Run
npm ci
Run the Action using this :
node -r dotenv/config entrypoint.js "{{ EVENT_PAYLOAD.commits[0].message }}"
You can change the event payload by editing the event-example.json
file according to the event types.
Don't forget to 🌟 Star 🌟 the repo if you like this GitHub Action !
Your feedback is appreciated