Skip to content
activity

GitHub Action

Notify Action

v1.0.0 Latest version

Notify Action

activity

Notify Action

Notify is a helper utility written in Go that allows you to post output to multiple platforms

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Notify Action

uses: projectdiscovery/[email protected]

Learn more about this action in projectdiscovery/notify-action

Choose a version

notify

Notify Action makes it easy to orchestrate notify with GitHub Action.

Example Usage

GitHub Action running Notify with file

      - name: ๐Ÿ—’ Notify - Keep me updated
        uses: projectdiscovery/notify-action@main
        with:
          data: output.txt
          provider-config: notify-config.yaml

Example workflow - .github/workflows/notify.yml

name: ๐Ÿ—’ Notify - Keep me updated

on:
    schedule:
      - cron: '0 0 * * *'
    workflow_dispatch:

jobs:
  notify-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: 1.17

      - name: ๐Ÿ—’ Notify - Keep me updated
        uses: projectdiscovery/notify-action@main
        with:
          data: output.txt
          provider-config: notify-config.yaml

Available Inputs

Key Description Required
data Input file to send with notify false
provider-config Config file to use with notify false
flags Additional notify CLI flags to use false