Skip to content

Commit 6ae4724

Browse files
authored
Merge pull request #518 from thedadams/trigger-py-gptscript
chore: trigger py-gptscript release on gptscript release
2 parents c156d56 + c3a0f93 commit 6ae4724

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,15 @@ jobs:
5353
token: ${{ secrets.DISPATCH_PAT }}
5454
repository: gptscript-ai/node-gptscript
5555
event-type: release
56-
client-payload: '{"tag": "${{ github.ref_name }}"}'
56+
client-payload: '{"tag": "${{ github.ref_name }}"}'
57+
python-release:
58+
needs: release-tag
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: trigger dispatch
62+
uses: peter-evans/repository-dispatch@v3
63+
with:
64+
token: ${{ secrets.DISPATCH_PAT }}
65+
repository: gptscript-ai/py-gptscript
66+
event-type: release
67+
client-payload: '{"tag": "${{ github.ref_name }}"}'

0 commit comments

Comments
 (0)