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

Include the Sha in webhook create payloads. #5689

Merged
merged 1 commit into from
Jul 10, 2019
Merged

Include the Sha in webhook create payloads. #5689

merged 1 commit into from
Jul 10, 2019

Conversation

Beanow
Copy link
Contributor

@Beanow Beanow commented Apr 19, 2019

This goes along with gogs/go-gogs-client#103 and gogs/go-gogs-client#104

For Drone CI integrations, having the commit Sha in a create (tag) webhook event is being relied on for docker builds. See drone-plugins/drone-docker#229

This adds it to the payload.

Git tea does make this available, visible here https://github.com/go-gitea/go-sdk/blob/2858b80da5f75fa2eea3fcf3205a5e6fd16da0ec/gitea/hook.go#L196

@unknwon
Copy link
Member

unknwon commented Jul 10, 2019

Thank you!

@unknwon unknwon merged commit 798636c into gogs:develop Jul 10, 2019
@thewaytoai
Copy link

It seems like that this issue is still not in the master and not in the latest tag?

@unknwon
Copy link
Member

unknwon commented Aug 26, 2020

It seems like that this issue is still not in the master and not in the latest tag?

I don't think it is not. Why?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants