-
-
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
fix: Add secret to all webhook's payload where it has been missing #5199
fix: Add secret to all webhook's payload where it has been missing #5199
Conversation
affects webhooks for: * Delete * Fork * IssueComment * Release Resolves: #4732, #5173 Signed-off-by: Berengar W. Lehr <[email protected]>
@appleboy maybe you can review go-gitea/go-sdk#126 |
@lunny Approve and merged. |
@HoffmannP to update vendor please use the dep tool.
|
@sapk will do next time. Is this advice something to be added to the contribution guideline? |
@HoffmannP I think it was somewhere in guidelines. CI will not build otherwise so while it is not updated with go dep PR can not be merged |
The vendoring section say that we use dep but not how to used it. For a quick setup:
|
* Updated dependency manager via `dep ensure -update code.gitea.io/sdk` * Gopkg.toml was nat changed as sdk version is set to "master" Signed-off-by: Berengar W. Lehr <[email protected]>
…P/gitea into issue/#4732_webhooks_add_secret
* WTF just happened?! Signed-off-by: Berengar W. Lehr <[email protected]>
* Don't know anymore why stuff I never touched is changing Signed-off-by: Berengar W. Lehr <[email protected]>
@sapk I have no idea what I did wrong but files are changing that I never touched and the build is failing at places I never saw before |
@HoffmannP you did nothing wrong.
This will update the file |
All right than. Getting this done teaches me way more than I could've hoped for. Thank you for the explanation! |
Shouldn't #4960 be merged first as it explicitely references the changes to sdk in question? Leaving separate changes in different commits? |
* Updated dependency manager via `dep ensure -update code.gitea.io/sdk` * Gopkg.toml was nat changed as sdk version is set to "master" * Rebuild swagger as it became necessary b/c PR go-gitea/go-sdk#121 Signed-off-by: Berengar W. Lehr <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #5199 +/- ##
==========================================
+ Coverage 37.5% 37.51% +<.01%
==========================================
Files 309 309
Lines 45800 45800
==========================================
+ Hits 17178 17180 +2
+ Misses 26160 26158 -2
Partials 2462 2462
Continue to review full report at Codecov.
|
@HoffmannP It shouldn't be blocking as the fields will just be ignored or empty. The sdk will just be already updated for other PR. |
@HoffmannP would you be able to send a backport PR to release/v1.6 branch ? |
@techknowlogick done |
affects webhooks for:
This PR is paired with go-gitea/go-sdk#126
Resolves: #4732, #5173
Signed-off-by: Berengar W. Lehr [email protected]