docs: add specific permissions required for GitHub PATs#5677
Merged
jamengual merged 2 commits intorunatlantis:mainfrom Jul 30, 2025
ryanbarry:patch-1
Merged
docs: add specific permissions required for GitHub PATs#5677jamengual merged 2 commits intorunatlantis:mainfrom ryanbarry:patch-1
jamengual merged 2 commits intorunatlantis:mainfrom
ryanbarry:patch-1
Conversation
this PR adds detail for creating tightly-scoped Personal Access Tokens when integrating with GitHub. I worked these out by trial and error, noting which requests failed in the logs and working through each with this doc as a reference: https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28 Signed-off-by: Ryan Barry <ryan@nuclearice.com>
jamengual
approved these changes
Jul 30, 2025
Contributor
|
Thanks @ryanbarry for the contribution |
mowirth
pushed a commit
to mowirth/atlantis
that referenced
this pull request
Jul 31, 2025
…5677) Signed-off-by: Ryan Barry <ryan@nuclearice.com> Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com> Signed-off-by: Moritz Wirth <mw@flanga.io>
mowirth
pushed a commit
to mowirth/atlantis
that referenced
this pull request
Jul 31, 2025
…5677) Signed-off-by: Ryan Barry <ryan@nuclearice.com> Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com> Signed-off-by: Moritz Wirth <mw@flanga.io>
ramonvermeulen
pushed a commit
to bschaatsbergen/atlantis
that referenced
this pull request
Oct 13, 2025
…5677) Signed-off-by: Ryan Barry <ryan@nuclearice.com> Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com> Signed-off-by: Ramon Vermeulen <ramonvermeulen98@gmail.com>
dimisjim
pushed a commit
to dimisjim/atlantis
that referenced
this pull request
Oct 29, 2025
…5677) Signed-off-by: Ryan Barry <ryan@nuclearice.com> Co-authored-by: PePe Amengual <2208324+jamengual@users.noreply.github.com> Signed-off-by: dimisjim <dimitris.moraitidis@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
what
This PR adds detail for creating tightly-scoped Personal Access Tokens when integrating with GitHub.
why
In order to save others the toil of trial and error.
tests
I noted which requests failed in the logs and worked through each with the official PAT permissions doc as a reference, until all requests succeeded (from opening a PR, getting the statuses, the plan comment, commenting back
atlantis helpto closing the PR and seeing the final "locks deleted" comment)references
https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens?apiVersion=2022-11-28