Skip to content

Update GitHub Actions workflow message settings #9

Update GitHub Actions workflow message settings

Update GitHub Actions workflow message settings #9

Workflow file for this run

name: Discord Push Notifications
on:
push:
branches: [ main ]
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Actions Status Discord
# You may pin to the exact commit or the version.
# uses: sarisia/actions-status-discord@11a0bfe3b50977e38aa2bd4a4ebd296415e83c19
uses: sarisia/actions-status-discord@v1.15.4
with:
# Discord webhook endpoint. If not set, env.DISCORD_WEBHOOK will be used.
webhook: ${{ secrets.DISCORD_WEBHOOK }}
# Job status. Should be bound to job.status. Default to success.
#status: # optional, default is ${{ job.status }}
# Deprecated. Job name included in message title. Same as title input.
#job: # optional
# Content. Shown as an message outside of the embed. See [Mention to user/role](#mention-to-user-role)
#content: # optional
# String included in embed title. Overrides job input.
title: "New push"
# Description included in message
#description: # optional
# Image attached to the message
#image: # optional
# Overrides Discord embed color
#color: # optional
# URL to jump when the title is clicked
#url: # optional
# Overrides Discord webhook username
#username: # optional
# Overrides Discord webhook avatar url
#avatar_url: # optional
# This action won't make workflow failed by default.
#nofail: # optional, default is true
# Suppress GitHub context fields
#nocontext: # optional, default is false
# Avoid appending job status to title
noprefix: true
# Suppress detailed embed fields
nodetail: true
# Avoid appending timestamp
#notimestamp: # optional, default is false
# Suppress error which raised when webhook is not set
#ack_no_webhook: # optional, default is false