Send a message to the chatwork when a pull request is created, merged or closed.
Required
Chatwork API token.
Required
Chatwork room ID, where the message was sent.
Required
Mapping between github username and chatwork user ID.
Extra message content will be added below the main message content.
Chatwork message ID generated by chatwork server.
name: Pull request chatwork notifier
on:
pull_request:
types:
- opened
- closed
jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: daint2git/pull-request-chatwork-notifier@v1
with:
chatwork-api-token: ${{ secrets.CHATWORK_API_TOKEN }}
chatwork-room-id: ${{ secrets.CHATWORK_ROOM_ID }}
mapping: |
{
"git_user01": 123,
"git_user02": 456
}This Action is distributed under the terms of the MIT license, see LICENSE for details.