Skip to content

Commit

Permalink
fix: trigger on a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jul 6, 2023
1 parent 66f3579 commit 2297d4e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/update-from-zeta-node.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Update docs/modules from zeta-node

on:
workflow_dispatch:
issue_comment:
types: [created]

jobs:
update-docs:
if:
github.event.issue.pull_request != '' &&
contains(github.event.comment.body, '/update-docs')
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Checkout zeta-node repository
- name: Checkout protocol-contracts repository
uses: actions/checkout@v2
with:
repository: zeta-chain/protocol-contracts
Expand Down

0 comments on commit 2297d4e

Please sign in to comment.