This GitHub Action sends a message to Chatwork when an issue, comment or pull request is created or edited.
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.
This Action is distributed under the terms of the MIT license, see LICENSE for details.
Any contributions are welcomed!