Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

mahaker/actions-idobata

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

Repository files navigation

actions-idobata

This action post message to idobata as webhook.

Usage

uses: mahaker/[email protected]
with:
  hookUrl: ${{ secrets.IdobataHookUrl }}
  message: | # multiple lines
    ### hello GitHub Actions!!
    pushed to ${{ github.repository }}
    by @${{ github.actor }}
  format: 'markdown' # default

How to use

  1. Setup idobata hook

At your idobata room, ROOM SETTINGS > Hooks > New Hook > Custom Webhook

Copy Endpoint URL.

  1. Set Endpoint URL to GitHub's secret

At your repository, Settings > Secrets > Add a new Secrets

The name of secret, please to IdobataHookUrl. The value of secret, must be idobata hook endpoint url.

Inputs

hookUrl

Required idobata hook url.

message

Required message to idobata.

You can contains Contexts and expression syntax for GitHub Actions

format

Message format. You can choose between 'markdown' or 'html'. (default 'markdown')