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

Upgrade to 1.15.2 breaks drone integration #17022

Closed
2 of 6 tasks
MGChecker opened this issue Sep 11, 2021 · 1 comment
Closed
2 of 6 tasks

Upgrade to 1.15.2 breaks drone integration #17022

MGChecker opened this issue Sep 11, 2021 · 1 comment

Comments

@MGChecker
Copy link

After upgrading 1.14.5 -> 1.15.2, the drone integration is broken. This might be related to #16176.

  • Gitea version (or commit ref): 1.15.3
  • Git version:
  • Operating system: Debian 11
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

drone logs:

2021-09-11T18:49:48.383935235Z > {"commit":"61a0ac7422808ad435c04cac2da10b4a78fd4b1f","error":"Forbidden","event":"push","level":"warning","msg":"trigger: cannot find yaml","ref":"refs/heads/master","repo":"","time":"2021-09-11T18:49:48Z"}

gitea webhook:

Headers

Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Content-Length: 99
Content-Type: application/json
Date: Sat, 11 Sep 2021 19:59:28 GMT
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
Server: Apache/2.4.38 (Debian)
X-Accel-Expires: 0
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block

Body

{"message":"json: cannot unmarshal object into Go struct field issue.issue.labels of type string"}

@MGChecker MGChecker changed the title Upgrade to 1.15.3 breaks drone integration Upgrade to 1.15.2 breaks drone integration Sep 11, 2021
@MGChecker
Copy link
Author

Apparently, this was some OAuth issue which could be fixed by using another user. Weird though.

@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant