unexpected error while setting up configuration org wide #187627
Replies: 2 comments
-
|
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.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
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