Perform repository dispatch using the builtin CLI (#65)

This commit is contained in:
Mateusz Burzyński
2026-01-13 19:54:57 +00:00
committed by pullfrog[bot]
parent b3e1cf6de3
commit e839fbeacd
+8 -8
View File
@@ -22,15 +22,15 @@ jobs:
with:
repos: pullfrog
- uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.token.outputs.token }}
repository: pullfrog/pullfrog
event-type: action-repo-updated
client-payload: |
{
- name: Dispatch "action-repo-updated" event
run: |
gh api repos/pullfrog/pullfrog/dispatches \
-f event_type="action-repo-updated" \
-f client_payload='{
"before": "${{ github.event.before }}",
"after": "${{ github.event.after }}",
"compare_url": "${{ github.event.compare }}",
"pusher": "${{ github.actor }}"
}
}'
env:
GH_TOKEN: ${{ steps.token.outputs.token }}