Skip to content

fix: Print decimal value in error exception #3930

fix: Print decimal value in error exception

fix: Print decimal value in error exception #3930

Workflow file for this run

name: Dozer Pulls
on:
pull_request_target:
branches: [main, pull-yaml-dev]
types: [opened]
pull_request_review:
types: [submitted]
pull_request_review_comment:
types: [created, deleted]
concurrency:
group: pull
jobs:
notify:
name: Discord Pull
runs-on: ubuntu-latest
steps:
- name: Pull Request
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_GITHUB_WEBOOK }}
DISCORD_EMBEDS: '[ {
"title": " Pull request #${{ github.event.pull_request.number }} opened by ${{ github.actor }}",
"author": { "icon_url": "https://avatars.githubusercontent.com/${{ github.actor }}", "name": "${{ github.actor }}", "url": "https://github.com/${{ github.actor }}" },
"fields": [
{ "name": "Pull Request", "value": "[${{ github.event.pull_request.title }}](${{ github.event.pull_request.html_url }})" },
{ "name": "Repository", "value": "[getdozer/dozer](https://github.com/getdozer/dozer)" },
{ "name": "Message", "value": ${{ toJSON(github.event.pull_request.body || github.event.pull_request.title) }}}
],
"color": 990099
}]'
uses: Ilshidur/action-discord@master