Perform repository dispatch using the builtin CLI (#65)
This commit is contained in:
committed by
pullfrog[bot]
parent
b3e1cf6de3
commit
e839fbeacd
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user