RepositoryEnvironment
for private repositories gives invalid error: 422 Fail to create protected rule
#251
Labels
awaiting-upstream
Awaiting upstream dependency
kind/bug
Some behavior is incorrect or out of spec
resolution/fixed
This issue was fixed
What happened?
When creating a
RepositoryEnvironment
for a private repository, a misleading error occurs:While it is possible to create
RepositoryEnvironment
with GitHub REST API and via the web-interface.Steps to reproduce
This will require a GitHub Teams account for your organisation.
With this:
run
pulumi up
Expected Behavior
Creates a private repository with with environment named "testing".
Actual Behavior
Creates a private repository, but fails to create the environment:
Output of
pulumi about
Additional context
This is most likely an upstream bug with the terraform provider. But reporting it here anyway for reference.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: