crossplane-contrib/provider-upjet-github

while creating organization-rule-set it is not working as expected

Opened this issue · 2 comments

Hello I am trying to create organizatio rule set.

I am giving the hard coded value in the following compoition

image

Wgen we apply claim, seems it is not creating the ruleset as expected. 
**The value I am providing to parameter name **condition** that is not working.**
```
Example 
conditions:
          - ref_name:
              - include: 
                 - ~ALL     
              - exclude:
                 - "refs/heads/dev*"
          - repository_name:
              - include:
                 - epis-events
                 - epis-dev-services-library
 ```

image

Can you please look into this and suggest what is wrong here?

Thanks in Advance

Is there any update please?

hi @A660988 , i think the cause of the issue is that you are using ref_name and repository_name but you should use refName and repositoryId according to the CRD.