Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Github Action for convert Github mention to Chatwork mention.

License

Notifications You must be signed in to change notification settings

shikajiro/actions-mention-to-chatwork

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 7, 2024
a5a47d3 · Mar 7, 2024
Oct 11, 2023
Oct 11, 2023
Mar 7, 2024
Feb 27, 2024
Aug 22, 2020
Aug 22, 2020
Sep 21, 2020
Feb 27, 2024
Oct 11, 2023
Jun 14, 2023
Sep 25, 2023
Oct 17, 2021
Oct 11, 2023
Oct 11, 2023
Mar 28, 2020

Repository files navigation

Convert Github mention to Chatwork mention

This action sends mention to your Chatwork account when you have been mentioned at github.

Feature

  • Send mention to Chatwork if you have been mentioned
    • issue
    • pull request
  • Send notification to Chatwork if you have been requested to review.
  • Send notification to Chatwork if your pull request have been approved.

Inputs

Name Required Default Description
configuration-path Yes .github/mention-to-chatwork.yml Path to config-yaml-file to convert Github username to Chatwork member ID. You can use local file path or URL like https://github.com/path/to/yaml_raw_file
repo-token Yes Null Github access token to fetch .github/mention-to-chatwork.yml file.
api-token Yes Null Chatwork access token.
run-id No Null Used for the link in the error message when an error occurs.

Example usage

.github/workflows/mention-to-chatwork.yml

on:
  issues:
    types: [opened, edited]
  issue_comment:
    types: [created, edited]
  pull_request:
    types: [opened, edited, review_requested]
  pull_request_review:
    types: [submitted]
  pull_request_review_comment:
    types: [created, edited]

jobs:
  mention-to-chatwork:
    runs-on: ubuntu-latest
    steps:
      - name: Run
        uses: shikajiro/actions-mention-to-chatwork@v0
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          api-token: ${{ secrets.CHATWORK_API_TOKEN }}
          run-id: ${{ github.run_id }}

.github/mention-to-chatwork.yml

# For Github User

github_username_A: 
  room_id: 123456789
  account_id: 123456789

About

Github Action for convert Github mention to Chatwork mention.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.3%
  • JavaScript 0.7%