Skip to content

Commit

Permalink
fix: Allow Kodiak to push to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Apr 19, 2024
1 parent 2e15939 commit 5c2d2f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ resource "github_branch_protection" "gh_pages" {
repository_id = github_repository.main.node_id
pattern = var.pages_source_branch

enforce_admins = true

restrict_pushes {
blocks_creations = false
push_allowances = [
local.github_actions_app_node_id, # Allow @github-actions to push commits
local.kodiakhq_app_node_id, # Allow Kodiak to merge PRs
]
}
}
Expand Down

0 comments on commit 5c2d2f6

Please sign in to comment.