Limit order keeper #439
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |