Conversation
Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
🚀 Deployment Status: Ready for Deployment ✅🔗 Quick Actions: 📝 Recent Change SummaryLatest commit: 📊 Overall ProgressBranch: 💡 Click deploy link above, then "Run workflow". Branch name will be pre-filled. |
🔒 Dependency Security Check Results |
🔍 Page Framework Compliance Check ResultsFramework Structure Compliance
🔍 SGEX Page Framework Compliance CheckerFound 30 routed page components ✅ WelcomePage: 6/6 (100%) - COMPLIANT ✅ SelectProfilePage: 6/6 (100%) - COMPLIANT ✅ DAKActionSelection: 6/6 (100%) - COMPLIANT ✅ DAKSelection: 6/6 (100%) - COMPLIANT ✅ OrganizationSelection: 6/6 (100%) - COMPLIANT ✅ DAKConfiguration: 6/6 (100%) - COMPLIANT ✅ RepositorySelection: 6/6 (100%) - COMPLIANT ✅ DashboardRedirect: 6/6 (100%) - COMPLIANT ✅ TestDashboard: 6/6 (100%) - COMPLIANT ✅ BPMNViewerTestComponent: 6/6 (100%) - COMPLIANT
✅ LandingPageWithFramework: 6/6 (100%) - COMPLIANT ✅ TestDocumentationPage: 6/6 (100%) - COMPLIANT ✅ AssetEditorTest: 6/6 (100%) - COMPLIANT
✅ NotFound: 6/6 (100%) - COMPLIANT
✅ DAKDashboard: 6/6 (100%) - COMPLIANT ✅ DAKDashboardWithFramework: 6/6 (100%) - COMPLIANT ✅ TestingViewer: 6/6 (100%) - COMPLIANT ✅ CoreDataDictionaryViewer: 6/6 (100%) - COMPLIANT ✅ ComponentEditor: 6/6 (100%) - COMPLIANT ✅ ActorEditor: 6/6 (100%) - COMPLIANT ✅ BusinessProcessSelection: 6/6 (100%) - COMPLIANT ✅ BPMNEditor: 6/6 (100%) - COMPLIANT ✅ BPMNViewer: 6/6 (100%) - COMPLIANT ✅ BPMNSource: 6/6 (100%) - COMPLIANT ✅ DecisionSupportLogicView: 6/6 (100%) - COMPLIANT
📊 COMPLIANCE SUMMARY✅ Fully Compliant: 25/30 📈 Overall Compliance: 83%
✅ COMPLIANCE CHECK PASSED Profile Creation ComplianceStatus: ✅ PASSED
🔍 Starting Profile Creation Compliance Check... 📊 Profile Creation Compliance Report📁 Files scanned: 138 ✅ COMPLIANCE PASSED: No profile creation violations found! Next StepsFor guidance, see: |
|
@copilot I clicked "Approve" button to apporve the workflow. it tuned solid green. I waited for the approval (I thought saw a dynanmic update of the approval workflows, but it finished too quickly so I don't think it worked. I expected to see a dynamic update for each of the approval workdlow running as you would see in GitHub). once the Workflow did finish I expected to see a "Ready for Review" button but I did not. |
The workflow did complete successfully! I can see from the GitHub API that PR #900 is currently in draft mode ( The "Ready for Review" button only appears when you're authenticated and have merge permissions on the repository. The button logic requires:
If you're not seeing the button, please check:
The preview URL where the button should appear is: |
|
@copilot at |
… instead of merge permissions Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
I found and fixed the issue! The problem was in the permission checking logic. The "Ready for Review" button was using merge permissions ( However, marking a PR as ready for review only requires repository write access, not merge permissions. I've fixed this by:
The fix is in commit You should now see the "Ready for Review" button when viewing the draft PR at https://litlfred.github.io/sgex/copilot-fix-899/ with your authenticated PAT. |
This PR fixes a permission issue with the "Ready for Review" button in the WorkflowDashboard that was preventing users from converting draft PRs to ready-for-review status.
Problem
The "Ready for Review" button was incorrectly using merge permissions (
canMergePR) to determine visibility. However, thecheckPullRequestMergePermissionsmethod returnsfalsefor draft PRs because draft PRs cannot be merged. This created a circular dependency where users couldn't mark draft PRs as ready for review even if they had the necessary repository permissions.Solution
canManagePRpermission check based on repository write access (checkRepositoryWritePermissions)canManagePRinstead ofcanMergePRfor the "Ready for Review" buttonPermission Logic
The fix separates PR management permissions from merge permissions:
draft: falsecheck)Users with repository write access (write, maintain, or admin permissions) can now mark draft PRs as ready for review, which aligns with GitHub's native behavior where repository collaborators can manage PR draft status independently of merge permissions.
Changes Made
canManagePRstate and permission checking inPreviewBadge.jsWorkflowDashboard.jsto usecanManagePRfor the "Ready for Review" button conditionFixes #899.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.