Create or edit actions secrets in repository or organizations
Required String Secret name.
Required String Secret value to store.
Required String Repository Access token
Required String Repository or organization to store. Default github.repository context
Boolean Indicates the repo is an organization. Default false
String that configures the access that repositories have to the organization secret.
Options are all, private, selected
Response status code
Response json payload
uses: hmanzur/[email protected]
with:
name: 'MY_SECRET_NAME'
value: 'Lorem ipsun dolor simit'
repository: hmanzur/actions-set-secret
token: ${{ secrets.REPO_ACCESS_TOKEN }}uses: hmanzur/[email protected]
with:
name: 'MY_SECRET_NAME'
value: 'Lorem ipsun dolor simit'
repository: 'my-org'
token: ${{ secrets.REPO_ACCESS_TOKEN }}
org: true
visibility: 'all'