- name: Slack Notification
uses: ry-itto/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_ICON_URL: 'https://github.com/ry-itto.png'
SLACK_USERNAME: 'Capicapi'
SLACK_GITHUB_USER_PAIRS: ${{ secrets.SLACK_USER }}
TITLE: ':tada: Success :tada:'
BODY: 'ry-itto'
COLOR: '#4D88C2'-
SLACK_WEBHOOK_URLSlack Incoming webhook URL.
-
SLACK_ICON_URLUser icon image URL.
-
SLACK_USERNAMEUsername.
-
SLACK_GITHUB_USER_PAIRSAn environment variable to use when you want to connect a GitHub user to a Slack user. Save it in CSV format and replace it with a specific user name when it exists.
Like this.
ry-itto,UNJE44KPC ...※ You need to specify a user ID when connecting Slack users.
-
TITLEMessage Title.
-
BODYMessage Body.
-
COLORAttachment color. This will be shown left side of message.

