[BUG]: github_branch_proctection
status checks with matrix
values don't work as documented
#2417
Open
1 task done
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
The documentation:
terraform-provider-github/website/docs/r/branch_protection.html.markdown
Line 117 in 5809617
i.e.:
suggests that for a workflow file looking like this:
(see actual file here)
something like this:
should produce status checks for each of the matrix items, but it doesn't.
Only specifying it like this:
produces two separate required checks correctly.
I have tried finding the code that supposedly handles the special matrix notation, but couldn't find so in 5809617. Nor can I find it in the history or any other issues or mention of
matrix
related to it anywhere in the codebase.If I am holding it wrong, please take my apologies. If you could point me to the code handling this special case, that would be great, too.
Actual Behavior
It produces a required status check that verbatim requires a name with all matrix values, which is never fulfilled.
Terraform Version
Terraform
1.9.7
onMac OS 14.6.1 (23G93)
withterraform-provider-github
6.2.1
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: