name: Notifications

on:
  push: {}

jobs:
  stale:
    name: Discord Commits
    runs-on: ubuntu-latest
    steps:
    - name: Discord Commits
      uses: Sniddl/discord-commits@v1.2
      with:
        webhook: ${{ secrets.DISCORD_WEBHOOK_COMMITS }}
        message: "{{ github.ref }}\nDiff: {{ github.context.payload.compare }}"
        embed: '{ "title": "{{ commit.title }}", "description": "{{ commit.description }}", "url": "{{ commit.url }}", "author": { "name": "{{ commit.author.name }} ({{ commit.author.username }})", "icon_url": "https://unavatar.now.sh/gravatar/{{ commit.author.email }}"} }'

name: Notifications

on: [push]

jobs:
  stale:
    name: Discord Commits
    runs-on: ubuntu-latest
    steps:
    - name: Discord Commits
      uses: dearimgui/github_discord_notifier@65b7bef
      with:
        discord-webhook: ${{ secrets.DISCORD_WEBHOOK_COMMITS }}
        github-token: ${{ github.token }}
        action-task: discord-commits
        discord-filter: "'{{ github.branch }}' == 'master'"
        discord-username: GitHub

Use different github commits reporting action.
Misc: Use different github commits reporting action.

[skip-ci]
