new resource: github_actions_repository_permissions#1339
Merged
kfcampbell merged 4 commits intointegrations:mainfrom Nov 10, 2022
Merged
new resource: github_actions_repository_permissions#1339kfcampbell merged 4 commits intointegrations:mainfrom
kfcampbell merged 4 commits intointegrations:mainfrom
Conversation
This commit adds the following new resources for modifying Actions permissions for a given repository: * `github_actions_repository_permissions` Resource is heavily modelled on the `github_actions_organization_permissions` resource.
Contributor
|
Hi, thanks for contributing! When I run the integration tests following the instructions here, I'm seeing the following errors: Can you reproduce these? |
Contributor
Author
Sure, I'll take a look 👍 |
* Only specify `AllowedActions` if actions are enabled on repo * Ensure that the `repository` param gets set when importing. * Fix the logic when deleting the repository permissions.
Contributor
Author
|
OK, tests are all passing now: |
Contributor
|
Looks good to me too, thank you for contributing! |
Contributor
Author
|
Thanks for that @kfcampbell ... Do you know when the next release is scheduled for? |
kazaker
pushed a commit
to auto1-oss/terraform-provider-github
that referenced
this pull request
Dec 28, 2022
* new resource: github_actions_repository_permissions This commit adds the following new resources for modifying Actions permissions for a given repository: * `github_actions_repository_permissions` Resource is heavily modelled on the `github_actions_organization_permissions` resource. * Fixup the failing tests. * Only specify `AllowedActions` if actions are enabled on repo * Ensure that the `repository` param gets set when importing. * Fix the logic when deleting the repository permissions. * Fixup merge Co-authored-by: Keegan Campbell <me@kfcampbell.com>
avidspartan1
pushed a commit
to avidspartan1/terraform-provider-github
that referenced
this pull request
Feb 5, 2024
* new resource: github_actions_repository_permissions This commit adds the following new resources for modifying Actions permissions for a given repository: * `github_actions_repository_permissions` Resource is heavily modelled on the `github_actions_organization_permissions` resource. * Fixup the failing tests. * Only specify `AllowedActions` if actions are enabled on repo * Ensure that the `repository` param gets set when importing. * Fix the logic when deleting the repository permissions. * Fixup merge Co-authored-by: Keegan Campbell <me@kfcampbell.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.
This commit adds the following new resources for modifying Actions
permissions for a given repository:
github_actions_repository_permissionsResource is heavily modelled on the
github_actions_organization_permissionsresource.