Repository navigation
feat: add actions default permissions input - #40
Merged
Merged
Conversation
Contributor
|
Terraform plan in . in the github-ops workspace Plan: 6 to add, 0 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.actions.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "actions"
}
# module.claude_ops.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "claude-ops"
}
# module.git_ops.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "git-ops"
}
# module.github_ops.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "github-ops"
}
# module.job_hunter.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "job-hunter"
}
# module.sandbox_factory.github_workflow_repository_permissions.this will be created
+ resource "github_workflow_repository_permissions" "this" {
+ can_approve_pull_request_reviews = false
+ default_workflow_permissions = "read"
+ id = (known after apply)
+ repository = "agent-factory"
}
Plan: 6 to add, 0 to change, 0 to destroy.
Warning: Argument is deprecated
with module.actions.github_actions_secret.app_private_key["octo_buddy"],
on modules/github-repo/actions.tf line 38, in resource "github_actions_secret" "app_private_key":
38: plaintext_value = each.value.private_key
Use value.📝 Plan generated in ci #159 |
Contributor
|
🎉 This PR is included in version The release is available on GitHub release 📦🚀 |
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.
Manage the default
GITHUB_TOKENpermissions per repo withgithub_workflow_repository_permissions, exposed as the module inputactions_default_permissions(readorwrite, defaultread). Also setscan_approve_pull_request_reviewstofalse.