Skip to content

Workflow file for this run

name: Aave V3 Bad Debt Trigger
on:
push:
branches:
- '*'
env:
DEBT_THRESHOLD_RATIO: "0"
BAD_DEBT_TELEGRAM_TOKEN: ${{ secrets.BAD_DEBT_TELEGRAM_TOKEN }}
BAD_DEBT_TELEGRAM_CHAT_ID: ${{ secrets.BAD_DEBT_TELEGRAM_CHAT_ID }}
jobs:
my_job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run Aave V3 Mainnet
run: python bad-debt-trigger.py
env:
PROTOCOL: "Aave V3 Mainnet"
DATA_URL: "https://raw.githubusercontent.com/Risk-DAO/simulation-results/main/bad-debt/latest/ethereum_aave%20v3.json"
- name: Run Aave V3 Arbitrum
run: python bad-debt-trigger.py
env:
PROTOCOL: "Aave V3 Arbitrum"
DATA_URL: "https://raw.githubusercontent.com/Risk-DAO/simulation-results/main/bad-debt/latest/arbitrum_aave%20v3.json"
- name: Run Aave V3 Polygon
run: python bad-debt-trigger.py
env:
PROTOCOL: "Aave V3 Polygon"
DATA_URL: "https://raw.githubusercontent.com/Risk-DAO/simulation-results/main/bad-debt/latest/polygon_aave%20v3.json"
- name: Run Aave V3 Optimism
run: python bad-debt-trigger.py
env:
PROTOCOL: "Aave V3 Optimism"
DATA_URL: "https://raw.githubusercontent.com/Risk-DAO/simulation-results/main/bad-debt/latest/optimism_aave%20v3.json"