Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify dispatch trigger type and add logs to suavelib-sync #16

Merged
merged 1 commit into from
Jan 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading