GitHub Actions · Arazzo Workflow
GitHub Actions Share an Organization Secret with Selected Repositories
Version 1.0.0
Fetch the org public key, create or update a selected-visibility org secret, scope it to repositories, and list them.
Provider
Workflows
share-org-secret
Create a selected-visibility org secret and scope it to repositories.
Gets the org public key, writes the encrypted org secret with selected visibility, sets its selected repositories, and lists them to confirm.
1
getOrgPublicKey
getOrgPublicKey
Retrieve the organization public key whose key_id must match the key used to encrypt the secret value.
2
writeOrgSecret
createOrUpdateOrgSecret
Create or update the organization secret with selected visibility. Returns 201 when newly created and 204 when updated.
3
setSelectedRepos
setSelectedReposForOrgSecret
Replace the secret's repository allow list with the supplied repository ids. Returns 204 with no body.
4
listSelectedRepos
listSelectedReposForOrgSecret
List the repositories now scoped to the secret to confirm the allow list.