Socket
Book a DemoInstallSign in
Socket

github.com/yhorikawa/discussions-comment-notify-action

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/yhorikawa/discussions-comment-notify-action

Source
Go
Version
v0.0.0-20240516173435-93c873b53dea
Version published
Created
Source

discussions-comment-notify-action

usege

1. Create Mention Map File

Create a file named .github/slack-mention-map.json in the repository.

e.g.

{
  "github-username": "slack-user-id"
}

2. Create GitHub Actions Workflow

name: discussions-comment-notify-action

on:
  discussion_comment:
    types: [created]

jobs:
  notice:
    runs-on: ubuntu-latest

    steps:
      - name: Notify Slack
        uses: yhorikawa/discussions-comment-notify-action@main
        with:
          slack-api-token: ${{ secrets.SLACK_API_TOKEN }}
          slack-channel:  ${{ secrets.SLACK_CHANNEL }}
          github-token: ${{ secrets.GITHUB_TOKEN }}

FAQs

Package last updated on 16 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts