Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/feature-parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `❌ **Parity Label Removed**\n\n@${context.actor}, you do not have sufficient permissions to add the 'parity' label. Only users with write access can trigger feature parity issues.\n\nIf you believe this feature should be implemented in the Python SDK, please ask a maintainer to add the label.`
body: `❌ **Parity Label Removed**\n\n@${context.actor}, you do not have sufficient permissions to add the 'parity' label. Only users with write access can trigger feature parity issues.\n\nIf you believe this feature should be implemented in the Typescript SDK, please ask a maintainer to add the label.`
});

throw new Error(`User ${context.actor} does not have write access to add parity label`);
Expand All @@ -62,7 +62,7 @@ jobs:
app-id: ${{ secrets.PARITY_APP_ID }}
private-key: ${{ secrets.PARITY_APP_PRIVATE_KEY }}
owner: browserbase
repositories: stagehand
repositories: stagehand-python

- name: Create issue in Python SDK repository
uses: actions/github-script@v7
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
const issueTitle = `[Feature Parity] ${pullRequest.title}`;
const issueBody = `## Feature Parity Request

This issue was automatically created from a pull request in the TypeScript Stagehand repository that was labeled with 'parity'.
This issue was automatically created from a pull request in the Python Stagehand repository that was labeled with 'parity'.

### Original PR Details
- **PR**: #${context.issue.number} - ${pullRequest.title}
Expand All @@ -120,12 +120,12 @@ jobs:
${commentsSection}

### Action Required
Please review the changes in the original PR and implement equivalent functionality in the Python SDK if applicable.
Please review the changes in the original PR and implement equivalent functionality in the Typescript SDK if applicable.

---
*This issue was automatically generated by the Feature Parity workflow.*`;

// Create the issue in the Python repository
// Create the issue in the Typescript repository
const { data: issue } = await github.rest.issues.create({
owner: 'browserbase',
repo: 'stagehand',
Expand All @@ -141,5 +141,5 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: `🔄 **Feature Parity Issue Created**\n\nAn issue has been automatically created in the Python SDK repository to track parity implementation:\n${issue.html_url}`
body: `🔄 **Feature Parity Issue Created**\n\nAn issue has been automatically created in the Typescript SDK repository to track parity implementation:\n${issue.html_url}`
});