unexpected error while setting up configuration org wide #187627
Replies: 1 comment
-
|
This 'Unknown reason' error when applying security configurations usually points to a conflict between the organization-level policy and the individual repository settings. Since you are running a small organization, please check the following: Public vs. Private Constraints: Some 'GitHub recommended' features (like Advanced Security features) require a GitHub Advanced Security (GHAS) license for private repositories. If your organization doesn't have GHAS, trying to apply those specific settings to private repos will trigger a generic failure. Archived Repositories: Check if any of the 5 failing repositories are archived. GitHub cannot apply new security configurations to archived repos, and it often reports this as an 'unknown' error. Existing Local Settings: If those repositories already have a .github/dependabot.yml or specific Secret Scanning overrides, the organization-wide 'Apply' might fail. Try disabling the setting on one specific repo first to see if it allows the global config to take over. Permissions: Ensure you have Owner permissions for the organization. Even if you can see the menu, certain security API calls require full administrative 'Owner' status to execute across multiple repos. Next Step: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
i am trying to add security configration(github recommended) for my small org but it is giving me uexcepted error

org:https://github.com/automation-workflows
Beta Was this translation helpful? Give feedback.
All reactions