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: with:
repos: pullfrog repos: pullfrog
- uses: peter-evans/repository-dispatch@v3 - name: Dispatch "action-repo-updated" event
with: run: |
token: ${{ steps.token.outputs.token }} gh api repos/pullfrog/pullfrog/dispatches \
repository: pullfrog/pullfrog -f event_type="action-repo-updated" \
event-type: action-repo-updated -f client_payload='{
client-payload: |
{
"before": "${{ github.event.before }}", "before": "${{ github.event.before }}",
"after": "${{ github.event.after }}", "after": "${{ github.event.after }}",
"compare_url": "${{ github.event.compare }}", "compare_url": "${{ github.event.compare }}",
"pusher": "${{ github.actor }}" "pusher": "${{ github.actor }}"
} }'
env:
GH_TOKEN: ${{ steps.token.outputs.token }}