forgejo/templates
Bo-Yi Wu 7b456a28d1
feat(api): enhance Actions Secrets Management API for repository (#30656)
- Add endpoint to list repository action secrets in API routes
- Implement `ListActionsSecrets` function to retrieve action secrets
from the database
- Update Swagger documentation to include the new
`/repos/{owner}/{repo}/actions/secrets` endpoint
- Add `actions` package import and define new routes for actions,
secrets, variables, and runners in `api.go`.
- Refactor action-related API functions into `Action` struct methods in
`org/action.go` and `repo/action.go`.
- Remove `actionAPI` struct and related functions, replacing them with
`NewAction()` calls.
- Rename `variables.go` to `action.go` in `org` directory.
- Delete `runners.go` and `secrets.go` in both `org` and `repo`
directories, consolidating their content into `action.go`.
- Update copyright year and add new imports in `org/action.go`.
- Implement `API` interface in `services/actions/interface.go` for
action-related methods.
- Remove individual action-related functions and replace them with
methods on the `Action` struct in `repo/action.go`.

---------

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
Signed-off-by: appleboy <appleboy.tw@gmail.com>
(cherry picked from commit 852547d0dc70299589c7bf8d00ea462ed709b8e5)

Conflicts:
	routers/api/v1/api.go
	trivial conflict because of Fix #2512 /api/forgejo/v1/version auth check (#2582)
2024-04-28 15:39:01 +02:00
..
admin Fix flash message for flex-container (#30657) 2024-04-28 15:39:00 +02:00
api/packages/pypi
base
custom
devtest Revert 100% label max-width (#30481) 2024-04-21 11:37:55 +02:00
explore
mail
org Remove obsolete CSS text classes (#30576) 2024-04-28 15:39:00 +02:00
package Some NuGet package enhancements 2024-04-15 20:45:14 +02:00
projects Fix project name wrapping, remove horizontal margin on header (#30631) 2024-04-28 15:39:00 +02:00
repo Fix code search input for different views (#30678) 2024-04-28 15:39:01 +02:00
shared Remove obsolete CSS text classes (#30576) 2024-04-28 15:39:00 +02:00
status
swagger feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-28 15:39:01 +02:00
user Fix checkbox field markup (#30666) 2024-04-28 15:39:01 +02:00
webhook webhook: matrix access_token helper text 2024-04-16 08:59:56 +02:00
home.tmpl
install.tmpl
post-install.tmpl