Skip to content

Fix lookback range for uni lp token supply (#30) #42

Fix lookback range for uni lp token supply (#30)

Fix lookback range for uni lp token supply (#30) #42

Workflow file for this run

name: Sync to Dune
on:
push:
branches: [main]
jobs:
update-queries:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Necessary to get a complete history for diff
- name: Get list of changed files in a specific directory
id: get-changed-files
run: |
CHANGED_FILES=$(git diff \
--name-only --diff-filter=d ${{ github.event.before }} ${{ github.sha }} \
-- *.sql | paste -sd "," -)
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
echo "changed_files=$CHANGED_FILES" >> $GITHUB_OUTPUT
- name: Update Queries
uses: bh2smith/dune-update@v0.1.0
with:
changedQueries: ${{ steps.get-changed-files.outputs.changed_files }}
duneApiKey: ${{ secrets.DUNE_API_KEY }}