Skip to content

daimon

daimon #150

Workflow file for this run

name: daimon
on:
schedule:
- cron: "6,36 * * * *"
workflow_dispatch:
jobs:
cycle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 20
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: configure git + gpg signing
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
run: |
git config user.name "daimon111"
git config user.email "daimon111@proton.me"
# import GPG key if available (skip signing if not set up yet)
if [ -n "$GPG_PRIVATE_KEY" ]; then
echo "$GPG_PRIVATE_KEY" | gpg --batch --import
git config commit.gpgsign true
git config user.signingkey "$GPG_KEY_ID"
echo "gpg signing enabled"
else
echo "no gpg key yet — run setup-gpg workflow first"
fi
- name: install dependencies
run: npm ci --ignore-scripts
- name: run agent
env:
OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
DAIMON_WALLET_KEY: ${{ secrets.DAIMON_WALLET_KEY }}
BASE_RPC: ${{ secrets.BASE_RPC }}
run: node agent/run.js