Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ No modules.
| [github_team.developers](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team) | resource |
| [github_team_membership.admins_xnoto](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_membership) | resource |
| [github_team_repository.admins](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/team_repository) | resource |
| [github_workflow_repository_permissions.release_automation](https://registry.terraform.io/providers/integrations/github/latest/docs/resources/workflow_repository_permissions) | resource |
| [github_app.chart_updater](https://registry.terraform.io/providers/integrations/github/latest/docs/data-sources/app) | data source |
| [sops_file.secret_vars](https://registry.terraform.io/providers/carlpett/sops/latest/docs/data-sources/file) | data source |

Expand Down
8 changes: 8 additions & 0 deletions gh-workflow-permissions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Release Please uses the repository-scoped GITHUB_TOKEN to create its release
# pull request after successful main CI. Keep the default token read-only; the
# release workflow requests only the write scopes it needs at job level.
resource "github_workflow_repository_permissions" "release_automation" {
repository = github_repository.repositories["terraform-libvirt-domain"].name
default_workflow_permissions = "read"
can_approve_pull_request_reviews = true
}
Loading