Set Action Secret
ActionsTags
(2)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/actions-set-secret@v2.0.0
with:
name: 'MY_SECRET_NAME'
value: 'Lorem ipsun dolor simit'
repository: hmanzur/actions-set-secret
token: ${{ secrets.REPO_ACCESS_TOKEN }}uses: hmanzur/actions-set-secret@v2.0.0
with:
name: 'MY_SECRET_NAME'
value: 'Lorem ipsun dolor simit'
repository: 'my-org'
token: ${{ secrets.REPO_ACCESS_TOKEN }}
org: true
visibility: 'all'Set Action Secret is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.