Gitea: Golang SDK
Go to file
appleboy 8110db1e6d
Some checks failed
testing / testing (push) Failing after 1m53s
feat: implement Gitea Repo Action Secrets Management (#662)
- Add imports for "bytes", "encoding/json", and "net/http" in `repo_action.go`
- Implement `CreateRepoActionSecret` function to create a secret for a repository in Gitea Actions
- Add a new test file `repo_action_test.go` with tests for creating, updating, and listing repository action secrets

<img width="518" alt="image" src="/attachments/c8e457c4-395f-4ffe-8482-0b7f5d2541cb">

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Reviewed-on: #662
Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
2024-05-08 09:29:30 +00:00
.gitea/workflows ci: update Gitea testing configurations for 1.22 release (#663) 2024-05-08 01:53:26 +00:00
.github Update PR template (#627) 2023-08-01 14:50:16 +00:00
docs Add response to ReadRepoNotifications (#590) 2022-05-15 23:47:38 +08:00
gitea feat: implement Gitea Repo Action Secrets Management (#662) 2024-05-08 09:29:30 +00:00
.changelog.yml Changelog for v0.15.0 (#538) 2021-08-14 00:46:54 +08:00
.editorconfig switch gitter to discord for drone. (#62) 2017-06-16 10:46:36 +08:00
.gitattributes prevent merge conflicts | gitattributes eol=lf (#200) 2019-12-30 20:16:29 +00:00
.gitignore Add gitea-vet (#312) 2021-08-13 22:21:17 +08:00
.revive.toml use golangci-lint and revive for linting (match main repo) (#220) 2020-01-26 19:08:47 +00:00
CHANGELOG.md Add Changelog for v0.15.1 & url fixes (#564) 2022-01-12 08:44:20 +08:00
CONTRIBUTING.md README: add LICENCE and RELEASE badge (#208) 2020-01-03 01:01:10 +00:00
DCO Added contribution and maintainer files 2016-11-07 11:26:36 -02:00
LICENSE Updated licenses info 2016-11-07 11:26:36 -02:00
Makefile ci: update Gitea versions in workflows and Makefile (#657) 2024-04-14 13:09:31 +00:00
README.md docs: update badges in README.md file (#628) 2023-09-06 02:23:01 +00:00

Gitea SDK for Go

License: MIT Release Join the chat at https://img.shields.io/discord/322538954119184384.svg Go Report Card GoDoc

This project acts as a client SDK implementation written in Go to interact with the Gitea API implementation. For further informations take a look at the current documentation.

Note: function arguments are escaped by the SDK.

Use it

import "code.gitea.io/sdk/gitea"

Version Requirements

  • go >= 1.13
  • gitea >= 1.11

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the MIT License. See the LICENSE file for the full license text.