Skip to content

Conversation

@whywaita
Copy link

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 whywaita changed the title feat: add any fields from GitHub Actions feat: add more_fields May 10, 2021
@whywaita
Copy link
Author

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

@whywaita
Copy link
Author

I resolved conflicts.

@whywaita
Copy link
Author

@homoluctus Hi, Can you review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant