Skip to content

Limit order keeper #439

Limit order keeper

Limit order keeper #439

Workflow file for this run

name: Limit order keeper
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
concurrency:
group: limit-order-keeper
cancel-in-progress: false
permissions:
contents: read
jobs:
keeper:
name: Execute triggered orders
runs-on: ubuntu-24.04
timeout-minutes: 3
steps:
- name: Run keeper
env:
CRON_SECRET: ${{ secrets.CRON_SECRET }}
run: |
test -n "$CRON_SECRET"
curl --fail --show-error --silent \
--retry 2 --retry-all-errors --max-time 55 \
--header "Authorization: Bearer $CRON_SECRET" \
https://roque-dex.vercel.app/api/cron/keeper