Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Latest commit

History

History
32 lines (20 loc) 路 954 Bytes

DEVELOPMENT.md

File metadata and controls

32 lines (20 loc) 路 954 Bytes

馃殌 Slack for GitHub Actions - DEVELOPMENT

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.


Requirements

  • Node.js (sorry ...)

Installation

  • Copy .env.dist to .env and set all the environment variables.
  • Run yarn.

Development

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