BIP-420: Refund Voting Incentives for Pools Shut Down Due to Bug Report #994
Workflow file for this run
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@v2 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v2 | |
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@v4 | |
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 <[email protected]> |