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

Put commit message into message #89

Open
Elikill58 opened this issue Nov 6, 2022 · 1 comment
Open

Put commit message into message #89

Elikill58 opened this issue Nov 6, 2022 · 1 comment

Comments

@Elikill58
Copy link

How can we add the commit name into the discord message ?

@O-Mutt
Copy link

O-Mutt commented Jan 22, 2023

This is more specific to the github API than the specific action.
If you are still working on getting this one maybe check out these docs:
https://docs.github.com/en/developers/webhooks-and-events/events/github-event-types#pullrequestevent
https://docs.github.com/en/rest/pulls/pulls?apiVersion=2022-11-28#list-commits-on-a-pull-request

Seems the object ${{ github.event.pull_request.commits.*.message }} may have the values you're looking for. I'm not sure I've looked at that specific property so it may not exist but 🤷 worth looking.

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

No branches or pull requests

2 participants