Skip to content

Install otterdog app before setting it up#73

Open
netomi wants to merge 1 commit intomasterfrom
netomi-patch-1
Open

Install otterdog app before setting it up#73
netomi wants to merge 1 commit intomasterfrom
netomi-patch-1

Conversation

@netomi
Copy link

@netomi netomi commented Feb 25, 2026

This is the root cause for the initial errors when enabling otterdog for an org:

Applying changes:

╷                                                                                                                                                                                                       
│ Error:   failed to apply patch: ADD - repo_ruleset[name="main", repository=.eclipsefdn]                                                                                                               
│          failed to add repo ruleset with name 'main':                                                                                                                                                 
│          Exception while accessing 'https://api.github.com/repos/eclipse-editdor/.eclipsefdn/rulesets': (status=422, body={"message":"Validation Failed","errors":["Invalid rule                      
│          'required_status_checks': Invalid parameter required_status_checks: Invalid integration                                                                                                      
│          ids"],"documentation_url":"https://docs.github.com/rest/repos/rules#create-a-repository-ruleset","status":"422"})                                                                            
╵                                                                                                                                                                                                       
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00
  
  Done.

The reason is that during setup of otterdog for the org, a ruleset is created that references the otterdog app. If the app is not installed for the org, you will get a failure from the GH api.

Installing the app before setup should resolve that problem.

Removed redundant installation of Eclipse Otterdog GH app and added comments for clarity.

Signed-off-by: Thomas Neidhart <thomas.neidhart@eclipse-foundation.org>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant