8000 Set Secret · Actions · GitHub Marketplace · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Set Secret

Actions
Action to set a repository secret
v1.14
Latest
Star (8)

Set Secret

Build Version Size

Action to set a repository secret.

Usage 🚀

uses: action-pack/set-secret@v1
with:
  name: 'MY_SECRET'
  value: 'Lorem ipsun dolor simit'
  token: ${{ secrets.REPO_ACCESS_TOKEN }}

Inputs 📝

name

Required String Secret name.

value

Required String Secret value to store.

token

Required String Repository Access token

owner

Optional String Owners name.

repository

Optional String Repository name.

org

Optional Boolean Indicates the repo is an organization.

visibility

Optional String The visibility of the secret in organizations. Can be all, private, or selected, Defaults to all.

FAQ 💬

  • Why do I get the error 'Resource not accessible by integration'?

    This will happen if you use secrets.GITHUB_TOKEN.

    You need to create a personal access token instead.

    Go to your Github settings, select 'Developer settings' --> 'Personal access tokens' --> 'Tokens (classic)' and create a new token. Store its value in a secret, for example MY_TOKEN.

    Then refer to it like this:

    token: ${{ secrets.MY_TOKEN }}

Stars 🌟

Stars

Set 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.

About

Action to set a repository secret
v1.14
Latest

Set 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.

0