Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

DEV'n the OPS before it was cool

Reusable workflows

This repository hosts shared GitHub Actions workflows for the DEVtheOPS organization.

Discord notifications

Use .github/workflows/discord-notify.yml from any repository in the org to post rich Discord webhook embeds for GitHub events.

Example consumer workflow:

name: Discord Events

on:
  issues:
    types: [opened]
  pull_request:
    types: [opened]
  release:
    types: [published]

jobs:
  notify-discord:
    uses: DEVtheOPS/.github/.github/workflows/discord-notify.yml@main
    with:
      username: DEVtheOPS Bot
      title_prefix: "[DEVtheOPS]"
      include_body: true
    secrets:
      discord_webhook: ${{ secrets.DISCORD_WEBHOOK }}

Supported inputs:

  • username
  • avatar_url
  • title_prefix
  • include_body
  • color

Required secret:

  • discord_webhook

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors