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:
|
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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user