[PR #3914] [MERGED] fix(ci): treat open-swe bot as internal contributor #3924

Closed
opened 2026-06-05 18:53:36 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3914
Author: @mdrxy
Created: 5/8/2026
Status: Merged
Merged: 5/8/2026
Merged by: @mdrxy

Base: mainHead: mdrxy/internal-swe


📝 Commits (2)

  • f3a1ac2 fix(ci): treat open-swe bot as internal contributor
  • 358e516 cr

📊 Changes

1 file changed (+11 additions, -1 deletions)

View changed files

📝 .github/workflows/tag-external-contributions.yml (+11 -1)

📄 Description

The tag-external-contributions workflow was incorrectly flagging PRs authored by the open-swe bot as external contributions. Hardcode open-swe, app/open-swe, and open-swe[bot] as internal authors so the job skips the org-membership API call and labels them correctly.

Changes

  • Add internalAuthors Set with open-swe variants to the github-script step in .github/workflows/tag-external-contributions.yml
  • Short-circuit the external-contributor check before the org.getMembershipForUser call when the PR author matches any of the hardcoded bot identities

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3914 **Author:** [@mdrxy](https://github.com/mdrxy) **Created:** 5/8/2026 **Status:** ✅ Merged **Merged:** 5/8/2026 **Merged by:** [@mdrxy](https://github.com/mdrxy) **Base:** `main` ← **Head:** `mdrxy/internal-swe` --- ### 📝 Commits (2) - [`f3a1ac2`](https://github.com/langchain-ai/docs/commit/f3a1ac29ef048974682765715095f37bc2bb917c) fix(ci): treat open-swe bot as internal contributor - [`358e516`](https://github.com/langchain-ai/docs/commit/358e51622f30a5c9d401067757ca0a7031d9b1aa) cr ### 📊 Changes **1 file changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/tag-external-contributions.yml` (+11 -1) </details> ### 📄 Description The `tag-external-contributions` workflow was incorrectly flagging PRs authored by the `open-swe` bot as external contributions. Hardcode `open-swe`, `app/open-swe`, and `open-swe[bot]` as internal authors so the job skips the org-membership API call and labels them correctly. ## Changes - Add `internalAuthors` `Set` with `open-swe` variants to the `github-script` step in `.github/workflows/tag-external-contributions.yml` - Short-circuit the external-contributor check before the `org.getMembershipForUser` call when the PR author matches any of the hardcoded bot identities --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:53:36 -04:00
yindo closed this issue 2026-06-05 18:53:36 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3924