Skip to content

Commit

Permalink
specify dispatch trigger type and add logs to suavelib-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
sukoneck committed Jan 5, 2024
1 parent 2485457 commit 5ac9d70
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/suave-lib-sync.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: SuaveLib sync

on: [repository_dispatch, workflow_dispatch]
on:
workflow_dispatch:
repository_dispatch:
types: [suavelib-sync]

permissions:
pull-requests: write
Expand All @@ -12,6 +15,14 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Log Dispatch Information
if: ${{ github.event_name == 'repository_dispatch' }}
run: |
echo "this run was triggered by dispatch from repo: flashbots/suave-geth"
echo "ref: ${{ github.event.client_payload.ref }}"
echo "sha: ${{ github.event.client_payload.sha }}"
echo "run: ${{ github.event.client_payload.run }}"
- name: Checkout
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5ac9d70

Please sign in to comment.