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

feat(API): add secret deletion functionality for repository #26808

Merged
merged 3 commits into from
Sep 1, 2023

Commits on Aug 30, 2023

  1. refactor: refactor secret deletion functionality

    - Modify the `CreateOrUpdateSecret` function in `api.go` to include a `Delete` operation for the secret
    - Modify the `DeleteOrgSecret` function in `action.go` to include a `DeleteSecret` operation for the organization
    - Modify the `DeleteSecret` function in `action.go` to include a `DeleteSecret` operation for the repository
    - Modify the `v1_json.tmpl` template file to update the `operationId` and `summary` for the `deleteSecret` operation in both the organization and repository sections
    
    Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
    appleboy committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    a2ef440 View commit details
    Browse the repository at this point in the history
  2. feat: update swagger operation IDs for deleteSecret in API files

    - Change the swagger operation ID from `deleteSecret` to `deleteOrgSecret` in `routers/api/v1/org/action.go`
    - Change the swagger operation ID from `deleteSecret` to `deleteRepoSecret` in `routers/api/v1/repo/action.go`
    - Change the swagger operation ID from `deleteSecret` to `deleteOrgSecret` in `templates/swagger/v1_json.tmpl`
    - Change the swagger operation ID from `deleteSecret` to `deleteRepoSecret` in `templates/swagger/v1_json.tmpl`
    
    Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
    appleboy committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    0c52736 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. Configuration menu
    Copy the full SHA
    fe7d127 View commit details
    Browse the repository at this point in the history