Skip to content

Fix trade execution fills discarded with liquidity_consumption #67

Fix trade execution fills discarded with liquidity_consumption

Fix trade execution fills discarded with liquidity_consumption #67

name: trigger-reindexing
permissions: # Principle of least privilege
contents: read
actions: read
on:
push:
branches: [nightly]
workflow_dispatch:
jobs:
trigger-reindexing:
runs-on: ubuntu-latest
steps:
# https://github.com/step-security/harden-runner
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- name: Trigger reindexing
run: |
curl -sS -L --retry 5 --retry-delay 2 --retry-all-errors --connect-timeout 5 --max-time 60 --fail-with-body \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${{ secrets.REPOSITORY_ACCESS_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/nautechsystems/nautilus_mcp/dispatches \
-d '{"event_type":"trigger_reindexing"}'