tainacan-mappers-tmdc-dwc/.github/workflows/discord-commits.yml
Workflow config file is invalid. Please check your config file: yaml: line 2: mapping values are not allowed in this context

8 lines
620 B
YAML

- name: Discord Commits
uses: Sniddl/discord-commits@master
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