feat: build merkl airdrop csv based on user pool shares #2233
This file contains 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: Generate feeSweep payloads | |
on: | |
pull_request: | |
types: [labeled, synchronize] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
LABEL: Sweep Fees | |
jobs: | |
sweepFees: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: tools/python | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Run Sweep | |
if: github.event.label.name == 'Sweep Fees' | |
run: | | |
pip install -r requirements.txt | |
python3 sweepFees.py | |
- name: Commit and push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Generate Fee Sweep transaction builder jsons | |
commit_user_name: GitHub Actions | |
commit_user_email: github-actions[bot]@users.noreply.github.com | |
commit_author: Github Actions <noreply@users.noreply.github.com> |