diff --git a/.github/workflows/discord-commits.yml b/.github/workflows/discord-commits.yml index 454f209..3af79f8 100644 --- a/.github/workflows/discord-commits.yml +++ b/.github/workflows/discord-commits.yml @@ -1,7 +1,7 @@ -- name: Discord Commits - uses: Sniddl/discord-commits@v1.3 - with: - webhook: ${{ secrets.DISCORD_WEBHOOK }} - message: "Successful commit to **{{ github.context.payload.repository.owner.name }}/{{ github.context.payload.repository.name}}**.\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://avatars.io/gravatar/{{ commit.author.email }}"} }' - last-commit-only: false +name: Discord Commits + uses: Sniddl/discord-commits@v1.3 + with: + webhook: ${{ secrets.DISCORD_WEBHOOK }} + message: "Successful commit to **{{ github.context.payload.repository.owner.name }}/{{ github.context.payload.repository.name}}**.\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://avatars.io/gravatar/{{ commit.author.email }}"} }' + last-commit-only: false