You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/actions
Bo-Yi Wu 852547d0dc
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>
3 weeks ago
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2 months ago
auth_test.go Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 1 month ago
cleanup.go Expire artifacts before deleting them physically (#29241) 3 months ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 6 months ago
commit_status.go Add commit status summary table to reduce query from commit status table (#30223) 1 month ago
init.go Move notification interface to services layer (#26915) 9 months ago
interface.go feat(api): enhance Actions Secrets Management API for repository (#30656) 3 weeks ago
job_emitter.go The job should always run when `if` is `always()` (#29464) 3 months ago
job_emitter_test.go The job should always run when `if` is `always()` (#29464) 3 months ago
notifier.go Fix missed doer (#30231) 1 month ago
notifier_helper.go Enable more `revive` linter rules (#30608) 4 weeks ago
rerun.go Fix bugs in rerunning jobs (#29955) 2 months ago
rerun_test.go Fix bugs in rerunning jobs (#29955) 2 months ago
schedule_tasks.go Interpolate runs-on with variables when scheduling tasks (#30640) 4 weeks ago
variables.go Add API for `Variables` (#29520) 2 months ago