-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 816 Bytes
/
example.yml
File metadata and controls
39 lines (30 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: OpenClaw Bot
on:
schedule:
# Heartbeat every 6 hours
- cron: '0 */6 * * *'
issue_comment:
types: [created]
issues:
types: [opened]
pull_request:
types: [opened, synchronize]
workflow_dispatch:
jobs:
openclaw:
runs-on: ubuntu-latest
# Only run on issue comments that mention the bot
if: |
github.event_name != 'issue_comment' ||
contains(github.event.comment.body, '@openclaw')
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Run OpenClaw
uses: offloadmywork/openclaw-github-app@main
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
model: claude-sonnet-4-20250514
github_token: ${{ secrets.GITHUB_TOKEN }}