DiscordHooks / github-actions-discord-webhook

⛓ Here's your serverless solution for sending build status from GitHub Actions to Discord as webhooks.
MIT License
31 stars 15 forks source link

Add details about job/workflow/ext to hook #7

Closed lcombs15 closed 4 years ago

lcombs15 commented 4 years ago

At the moment, if you were to have workflows named:

build.yaml
release.yaml
deploy.yaml

The hook has no details about workflow, job, or OS.

The idea is that the hook would have Passed: build.yaml / MacOS / Main Pipeline

Main pipeline being the name of the workflow in the yaml.

If GitHub doesn't expose some of this information, it's worth noting that the workflows will be cloned to the machine, so the values could be read from there.