ravsamhq / notify-slack-action

🔔 Send a Slack Notification from Github Actions regarding failure, warnings, or even success.
https://ravsam.in/blog/send-slack-notification-when-github-actions-fails/
MIT License
173 stars 57 forks source link

Use URL endpoints from environment variables instead of hard coding #44

Closed cread closed 2 years ago

cread commented 2 years ago

Currently GitHub URL endpoints are hard coded. This change reads them from the environment variables listed in the actions documentation so that they work correct only GitHub Enterprise installations too.

ravgeetdhillon commented 2 years ago

@cread Excellent changes!