Skip to content
play

GitHub Action

chatwork-actions

v2 Latest version

chatwork-actions

play

chatwork-actions

This GitHub Action sends a message to Chatwork when an issue, comment or pull request is created or edited

Installation

Copy and paste the following snippet into your .yml file.

              

- name: chatwork-actions

uses: mechiru/chatwork@v2

Learn more about this action in mechiru/chatwork

Choose a version

Chatwork Action

ci Dependabot

This GitHub Action sends a message to Chatwork when an issue, comment or pull request is created or edited.

Example workflow

name: chatwork

on:
  discussion:
    types:
      - created
      - edited
      - answered

  discussion_comment:
    types:
      - created
      - edited

  issues:
    types:
      - opened
      - edited

  issue_comment:
    types:
      - created
      - edited

  pull_request:
    types:
      - opened
      - edited

jobs:
  notify:
    runs-on: ubuntu-latest
    timeout-minutes: 1
    steps:
      - uses: mechiru/chatwork@v2
        with:
          roomId: 123
          token: ${{ secrets.CHATWORK_API_TOKEN }}
          mapping: |
            {
              "mechiru": "[To:123]@mechiru",
              "organization/team": "[To:123]@mechiru [To:124]@suzuki",
            }

See action.yml.

License

This Action is distributed under the terms of the MIT license, see LICENSE for details.

Contribute and support

Any contributions are welcomed!