(Required) Name of the secret that you want to create/update.
value
(Required) Value of the secret that you want to create/update.
This action cannot mask the provided secret value in workflow logs. If you do
not want the secret value to appear in the output of your workflow run, you
have to mask it before you provide it to this action as input.
location
Name of a GitHub repository or organization where you want to create/update a
secret. Expects the notation owner/repo for repositories. Defaults to the
repository that invoked the workflow.
pa_token
(Required) Personal access token with permission to modify repository or
organization secrets.
For more information on PATs see the GitHub docs article on creating a
personal access token. The GitHub Secrets API requires the repo scope to
modify secrets in private repositories and the public_repo scope for public
repositories. It requires admin:org scope to modify secrets in an
organization.
org_visibility
Only used for organization secrets. Can be set to one of 3 values:
all will make the secret visible to all repositories in the organization
private makes it visible only to repositories that are not public
any other input value will be interpreted as a list of comma-seperated GitHub
repository IDs, which will cause the created secret to be selectively visible
only from these repositories
请发表评论