Action to set a repository secret.
uses: action-pack/set-secret@v1
with:
name: 'MY_SECRET'
value: 'Lorem ipsun dolor simit'
token: ${{ secrets.REPO_ACCESS_TOKEN }}Required String Secret name.
Required String Secret value to store.
Required String Repository Access token
Optional String Owners name.
Optional String Repository name.
Optional Boolean Indicates the repo is an organization.
Optional String The visibility of the secret in organizations. Can be all, private, or selected, Defaults to all.
-
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 }}