Skip to content

Commit 71c8437

Browse files
authored
fix parity workflow [STG-625] (#171)
* test repo change * fix comments
1 parent a7d8c5e commit 71c8437

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/feature-parity.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
owner: context.repo.owner,
4848
repo: context.repo.repo,
4949
issue_number: context.issue.number,
50-
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.`
50+
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.`
5151
});
5252
5353
throw new Error(`User ${context.actor} does not have write access to add parity label`);
@@ -62,7 +62,7 @@ jobs:
6262
app-id: ${{ secrets.PARITY_APP_ID }}
6363
private-key: ${{ secrets.PARITY_APP_PRIVATE_KEY }}
6464
owner: browserbase
65-
repositories: stagehand
65+
repositories: stagehand-python
6666

6767
- name: Create issue in Python SDK repository
6868
uses: actions/github-script@v7
@@ -104,7 +104,7 @@ jobs:
104104
const issueTitle = `[Feature Parity] ${pullRequest.title}`;
105105
const issueBody = `## Feature Parity Request
106106
107-
This issue was automatically created from a pull request in the TypeScript Stagehand repository that was labeled with 'parity'.
107+
This issue was automatically created from a pull request in the Python Stagehand repository that was labeled with 'parity'.
108108
109109
### Original PR Details
110110
- **PR**: #${context.issue.number} - ${pullRequest.title}
@@ -120,12 +120,12 @@ jobs:
120120
${commentsSection}
121121
122122
### Action Required
123-
Please review the changes in the original PR and implement equivalent functionality in the Python SDK if applicable.
123+
Please review the changes in the original PR and implement equivalent functionality in the Typescript SDK if applicable.
124124
125125
---
126126
*This issue was automatically generated by the Feature Parity workflow.*`;
127127
128-
// Create the issue in the Python repository
128+
// Create the issue in the Typescript repository
129129
const { data: issue } = await github.rest.issues.create({
130130
owner: 'browserbase',
131131
repo: 'stagehand',
@@ -141,5 +141,5 @@ jobs:
141141
owner: context.repo.owner,
142142
repo: context.repo.repo,
143143
issue_number: context.issue.number,
144-
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}`
144+
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}`
145145
});

0 commit comments

Comments
 (0)