Skip to content

slack_notify_actions

Actions
slack notification action
1.0.1
Latest
Star (5)

Tags

 (1)

typescript-action status

Slack notification action.

Usage

Example

- 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'

スクリーンショット 2020-05-19 16 34 42

Environment Variables

Required

  • SLACK_WEBHOOK_URL

    Slack Incoming webhook URL.

Optional

  • SLACK_ICON_URL

    User icon image URL.

  • SLACK_USERNAME

    Username.

  • SLACK_GITHUB_USER_PAIRS

    An 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.

    スクリーンショット 2020-05-19 16 46 02

  • TITLE

    Message Title.

  • BODY

    Message Body.

  • COLOR

    Attachment color. This will be shown left side of message.

slack_notify_actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

slack notification action
1.0.1
Latest

Tags

 (1)

slack_notify_actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.