abinoda / slack-action

GitHub Action for posting Slack messages
MIT License
270 stars 37 forks source link

Using Env variables on the message #2

Closed joecohens closed 5 years ago

joecohens commented 5 years ago

Hey @abinoda thank you creating this action! I wanted to know if you have successfully used it with env variables on the message like the $GITHUB_ACTOR and $GITHUB_REPOSITORY that github provides to create dynamic messages?

e.g. {\"channel\":\"123243434\",\"text\":\"$GITHUB_ACTOR just pushed to $GITHUB_REPOSITORY\"}

abinoda commented 5 years ago

@joecohens I have, but I need to update the README and some of the setup instructions to make it easy to do this. I created https://github.com/pullreminders/slack-action/issues/1 for this. I can try to get to this in the next week or two!

joecohens commented 5 years ago

@abinoda that's great! I'm closing this issue in favor to #1 looking forward to it!