This website uses cookies to ensure you get the best experience.
Learn more.
Only a trusted release job needs to publish a package. Other jobs should keep read-only repository access. Which two permission decisions meet that requirement? Select 2.
Published
- Keep a minimal read-only workflow default instead of granting write permissions to every job.
- Replace all job tokens with one permanent organization-owner PAT.
- Leave package publishing permissions unspecified and assume the package filename authorizes the upload.
- Set write-all at workflow level and depend on unused secrets to prevent writes.
- Grant the release job the package write permission it needs and any required repository read permission.
Comments — 0
Sign in to comment