-
Notifications
You must be signed in to change notification settings - Fork 974
feat(infra): add workflow to tag external issues and PRs #1441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Mintlify preview ID generated: preview-mdrxyt-1763243249-2f1969e |
lnhsingh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like tagging external instead of internal fwiw. Might want another eng to do a tech review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a GitHub Actions workflow to automatically tag issues and pull requests as "external" when they are created by users who are not members of the langchain-ai organization. The workflow uses GitHub's organization membership API to determine if a contributor is internal or external and applies labels accordingly.
Key changes:
- New automated workflow for contributor classification
- Supports both GitHub App tokens and Personal Access Tokens for org membership checking
- Handles both issues and pull requests via separate triggers
|
Mintlify preview ID generated: preview-mdrxyt-1763847664-a64f13b |
Ready to go, but before it will work we need to:
ORG_MEMBERSHIP_APP_IDORG_MEMBERSHIP_APP_PRIVATE_KEY