Actions

Create or update a repository Actions secret

Encrypts and stores the value (at most 48 KiB) under the name, replacing any existing value. Names are case-insensitive and stored upper-cased: letters, digits and underscores, not starting with a digit or GITHUB_. Requires authenticated authority and enforces current resource policy.

put/api/repos/{owner}/{repo}/actions/secrets/{name}

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token
    • or OAuth 2
      Authorization code: /api/oauth/authorize
      Token URL: /api/oauth/token scopes: repo:administration:admin

Path parameters

ownerstring required
repostring required
namestring required

Request body

valuestring required

Response

Response for status 200

namestring required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.