Skip to content

oznu/gh-wiki-edit-discord-notification

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

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action - Project Wiki Edit Discord Notifications

GitHub Action to notify a Discord channel when someone edits the project wiki.

image

Inputs

  • discord-webhook-url: (required, string) A discord channel webhook URL
  • ignore-collaborators: (optional, boolean, default = false) Ignore edits made by repo collaborators
  • discord-username: (optional, string, default = github-actions) The bot username for Discord
  • discord-avatar-url: (optional, string) The bot avatar url for Discord

Discord Webook URL

This should be set as an Action Secret.

Example usage

name: Wiki Changed Discord Notification

on:
  gollum

jobs:
  notify:
    runs-on: ubuntu-latest
    steps:
      - uses: 'oznu/gh-wiki-edit-discord-notification@main'
        with:
          discord-webhook-url: ${{ secrets.DISCORD_WEBHOOK_WIKI_EDIT }}
          ignore-collaborators: true

About

GitHub Action to notify a Discord channel when someone edits the project wiki.

Resources

Stars

Watchers

Forks