From b0d26d9f180c1e17fa6142dfe8961f6bb0653791 Mon Sep 17 00:00:00 2001 From: Keegan Campbell Date: Thu, 15 Jun 2023 10:13:54 -0700 Subject: [PATCH] Add note documenting weird permissions required (#1727) * Add note documenting weird permissions required * Update website/docs/r/repository.html.markdown --- website/docs/r/repository.html.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/r/repository.html.markdown b/website/docs/r/repository.html.markdown index 822efa1513..22525eca5d 100644 --- a/website/docs/r/repository.html.markdown +++ b/website/docs/r/repository.html.markdown @@ -10,6 +10,10 @@ description: |- This resource allows you to create and manage repositories within your GitHub organization or personal account. +~> Note: When used with GitHub App authentication, even GET requests must have +the `contents:write` permission or else the `allow_merge_commit`, `allow_rebase_merge`, +and `allow_squash_merge` attributes will be ignored, causing confusing diffs. + ## Example Usage ```hcl