[PR #2836] [CLOSED] [HOTFIX] Fix Drone/Gitea webhook reference integration #16624

Closed
opened 2025-11-02 12:14:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2836
Author: @lflare
Created: 11/3/2017
Status: Closed

Base: masterHead: fix/2824_drone-webhook-fix


📝 Commits (1)

  • 98bc36f Fix Drone webhook integration

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 routers/api/v1/api.go (+1 -1)

📄 Description

This PR fixes the broken webhook integration between Drone & Gitea due to 513375c429. Essentially, the default context.RepoRef() has been set to use branch references instead of commit references, so Gitea was getting the wrong information.

This also fixes #2824.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2836 **Author:** [@lflare](https://github.com/lflare) **Created:** 11/3/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/2824_drone-webhook-fix` --- ### 📝 Commits (1) - [`98bc36f`](https://github.com/go-gitea/gitea/commit/98bc36f90ff6ec90702da3ccd723e1990ba40ddf) Fix Drone webhook integration ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `routers/api/v1/api.go` (+1 -1) </details> ### 📄 Description This PR fixes the broken webhook integration between Drone & Gitea due to 513375c429435ba60a667b219bdfb00e5b760b38. Essentially, the default `context.RepoRef()` has been set to use branch references instead of commit references, so Gitea was getting the wrong information. This also fixes #2824. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:14:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16624