This website uses cookies to ensure you get the best experience.
Learn more.
A read-only monitoring integration needs to list recent Actions runs for one repository through the REST API. Which token-permission approach follows least privilege?
Published
- Grant the appropriate repository Actions read permission to a token scoped to the intended repository.
- Use actions: write only because read permissions never allow list endpoints.
- Grant repository administration and organization owner permissions because all Actions APIs require them.
- Embed a shared organization-wide administrator token in every monitored repository.
Comments — 0
Sign in to comment