-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Send tag create and push webhook when release created on UI #8325
Conversation
Codecov Report
@@ Coverage Diff @@
## master #8325 +/- ##
=========================================
- Coverage 41.76% 41.67% -0.1%
=========================================
Files 496 530 +34
Lines 65585 68635 +3050
=========================================
+ Hits 27391 28601 +1210
- Misses 34680 36371 +1691
- Partials 3514 3663 +149
Continue to review full report at Codecov.
|
I think push should be handler by post-receive. |
I'll take a look if I could handle the webhook on post-receive. |
@lunny Therefore, I would like to keep the codes. If there is any misunderstanding, please let me know. |
* [arc-green] white on hover for active menu items Actually, hovered active menu elements are in an unreadable black text colour. This should be changed to white. * [arc-green] white on hover for active menu items Actually, hovered active menu elements are in an unreadable black text colour. This should be changed to white. Now editing less files and commiting with `make css`.
…tc.) (go-gitea#7756) * Add API for Repo Advanced Settings of wiki and issue tracker Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add some integration tests for tracker and wiki settings through API * Should return StatusUnprocessableEntity in case of invalid API values. * Add tests for invalid URLs for external tracker and wiki. * Do not set inital values if they are default of type * Make issue tracker and wiki units separate structures in Repository API structure. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix comment of structures Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Rewrite API to use struct for setting tracker and wiki settings. * LetOnlyContributorsTrackTime -> AllowOnlyContributorsToTrackTime
* upgrade xorm to v0.7.9 to fix some bugs * upgrade xormstore to v1.3.1
…gitea#8307) * Revert go-gitea#7898 * Transaction-aware retry create issue to cope with duplicate keys * Restore INSERT ... WHERE usage * Rearrange code for clarity * Fix error return in newIssue() * Fix error message
* Add test for FilterModeMention * Fix column name ambiguity * Fix fmt
* Extend time window for TestAPILFSLocksLogged
fixes go-gitea#8299, a regression from 867f46f. unlike it's name suggests, the .markdown class is needed for most markup types. a future refactor should rename this class to something more generic
…rams (go-gitea#8528) * Expose db.SetMaxOpenConns and allow other dbs to set their connection params * Add note about port exhaustion Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
…itea#8612) * More information for drone-cli in CONTRIBUTING.md * Increases the version of drone-cli to 1.2.0 * Adds a note for the Docker Toolbox on Windows Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * Fix the url for the blog repository (now on gitea.com) Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* static url * add cors support for static resources * [assets] work on the migration to configurable url for assets Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] fix whitespace Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] fix the loading of the manifest.json It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Revert "add cors support for static resources" This reverts commit 42f964f Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] add the STATIC_URL_PREFIX option Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] migrate the url of a new asset to the static url prefix REF: f2a3abc Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Signed-off-by: jolheiser <john.olheiser@gmail.com>
…b editor) (go-gitea#8590) * Enabling and disabling the commit button to prevent empty commits Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * The button won't get enabled if you change the commit message Signed-off-by: LukBukkit <luk.bukkit@gmail.com> * Fixes a spelling mistake for 'silent' Signed-off-by: LukBukkit <luk.bukkit@gmail.com>
* Fix extra fields from database * Add migration to drop unneeded columns * Fix lint * Make sure the columns exist
* Only attempt to kill parent once * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Add waitgroup for running servers
Add 'Alt + click' and 'Alt +enter' feature to exclude particular labels on searching for issues.
* Improve OGP * Ensure Repo is loaded when checking Pull info Signed-off-by: jolheiser <john.olheiser@gmail.com>
Fix go-gitea#8461 - fix misspelling of {{AppSubUrl}} and other misspelling in template Fixes /explore and organisation redirection
When doing GET /api/v1/users/{user} as an unauthenticated user, gitea throws a 500 because it's trying to dereference elements from the context user. It wants to do this to see whether to show the primary email and will do that if the logged in user is admin or the user in question. However, if ctx.User is nil, go gets really unhappy.
…o-gitea#8655) * Hide some user information via API if user have no enough permission * fix test
I think there is a wrong base branch on this PR. |
Humm... it's weird... I'll merge with master in my local workspace and pushagain. |
I think I mess up my branch... I'll close this PR and recreate a new one. Sorry about that 😭 |
This pull request is to fix #5288 and #6027
This update will send both tag
create
andpush
event after release created.Since the release creation creates a new tag in git repository, it seems to me that it makes sense to send tag
create
andpush
event.