Generic Slack Notification Github Action
Required Slack Notification Channel.
Can be set up in env $SLACK_NOTIFICATION_CHANNEL
.
Required Slack Notification Repository.
Can be set up in up in env $SLACK_NOTIFICATION_REPO
.
Example: https://github.com${{ github.repo }}
.
Required Slack Notification Deploy Revision.
Can be set up in up in env $SLACK_NOTIFICATION_REVISION
.
Example: Set as the commit SHA ${{ github.sha }}
.
Required Slack Notification Deploy User.
Can be set up in up in env $SLACK_NOTIFICATION_DEPLOY_USER
.
Example: Set as the committer ${{ github.actor }}
.
The API response from Airbrake {"id": "asdf1234asdf1234"}
uses: germ12/slack_notification@v1
with:
slack-notification-channel: ${{ env.SLACK_NOTIFICATION_CHANNEL }}
repository: https://github.com${{ github.repo }}
revision: ${{ github.sha }}
user: ${{ github.actor }}