File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 1212 check-parity-label :
1313 runs-on : ubuntu-latest
1414 if : github.event.action == 'labeled' && github.event.label.name == 'parity'
15+ permissions :
16+ contents : read
17+ pull-requests : write
18+ issues : write
1519 steps :
1620 - name : Check out repository code
1721 uses : actions/checkout@v4
@@ -51,10 +55,19 @@ jobs:
5155
5256 console.log(`User ${context.actor} has ${permission.permission} access - proceeding with parity workflow`);
5357
54- - name : Create issue in TS SDK repository
58+ - name : Generate GitHub App token
59+ id : generate-token
60+ uses : actions/create-github-app-token@v1
61+ with :
62+ app-id : ${{ secrets.PARITY_APP_ID }}
63+ private-key : ${{ secrets.PARITY_APP_PRIVATE_KEY }}
64+ owner : browserbase
65+ repositories : stagehand
66+
67+ - name : Create issue in Python SDK repository
5568 uses : actions/github-script@v7
5669 with :
57- github-token : ${{ secrets.TS_REPO_TOKEN }}
70+ github-token : ${{ steps.generate-token.outputs.token }}
5871 script : |
5972 const { data: pullRequest } = await github.rest.pulls.get({
6073 owner: context.repo.owner,
You can’t perform that action at this time.
0 commit comments