Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
lock

GitHub Action

Set Action Secret

v1.0.0

Set Action Secret

lock

Set Action Secret

Create or update secrets in github repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Set Action Secret

uses: hmanzur/actions-set-secret@v1.0.0

Learn more about this action in hmanzur/actions-set-secret

Choose a version

Set Secret Action

Create or edit actions in repository

Usage

Inputs

name

Required Secret name.

value

Required Secret value to store.

token

Required Repository Access token

repository

Repository to store. Default is github.repository context

Examples

uses: hmanzur/actions-set-secret@v1.0.0
with:
  name: 'MY_SECRET_NAME'
  value: 'Lorem ipsun dolor simit'
  repository: hmanzur/actions-set-secret
  token: ${{ secrets.REPO_ACCESS_TOKEN }}