slatify icon indicating copy to clipboard operation
slatify copied to clipboard

feat: add `more_fields`

Open whywaita opened this issue 3 years ago • 3 comments

Hi contributors, Thank you for your great works :)

This change is adding the parameter more_fields. more_fields can write any data to Slack notify.

example

workflow:

      - uses: lazy-actions/slatify@master
        with:
          job_name: 'test'
          type: ${{ job.status }}
          url: ${{ secrets.SLACK_WEBHOOK_URL }}
          token: ${{ secrets.GITHUB_TOKEN }}
          more_fields: '{"aaa": "bbb", "ccc": "ddd"}'

Slack notify:

ScreenShot 2021-05-11 0 47 38

note: This slack-notify sent from my sandbox repository. you can check workflow_run in here.

whywaita avatar May 10 '21 15:05 whywaita

Hi @homoluctus, Can you review my PR? When I should resolve conflicts from master?

whywaita avatar May 12 '21 09:05 whywaita

I resolved conflicts.

whywaita avatar May 16 '21 14:05 whywaita

@homoluctus Hi, Can you review this?

whywaita avatar Aug 23 '21 14:08 whywaita