FEAT: Implement inclusive contribution process for external and internal contributors #150
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a more inclusive contribution process that seamlessly supports both Microsoft organization members and external contributors while maintaining required traceability for internal workflows.
Problem
The existing PR validation workflow required all contributors to provide ADO Work Item links, creating a barrier for external contributors who don't have access to Microsoft's internal Azure DevOps system. This made it difficult for the open-source community to contribute effectively.
Solution
1. Smart Contributor Detection (
.github/workflows/pr-format-check.yml
)https://sqlclientdrivers.visualstudio.com/.../.../_workitems/edit/<ID>
)https://github.com/microsoft/mssql-python/issues/XXX
)2. Enhanced Documentation (
CONTRIBUTING.md
)Added comprehensive contribution guidelines with clear workflows:
For External Contributors:
Related to: https://github.com/microsoft/mssql-python/issues/XXX
For Microsoft Organization Members:
AB#<WORK_ITEM_ID>
format + ADO link3. Updated PR Template (
.github/PULL_REQUEST_TEMPLATE.MD
)Validation
All changes have been thoroughly tested:
members: read
permission for organization membership checksExample Workflows
External Contributor Flow
Microsoft Org Member Flow
Benefits
This change makes the repository truly welcoming to the open-source community while preserving internal compliance requirements.
This pull request was created as a result of the following prompt from Copilot chat.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.