Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add more_fields #80

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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