Repo with automations to generate markdown tables of DRep votes
To allow the workflow to commit and push changes to your repository, you need to configure the proper permissions:
- Go to your repository's Settings
- Navigate to "Actions" under "Security"
- In the "Workflow permissions" section, select "Read and write permissions"
- Save the changes
The automation requires a Koios API key to fetch DRep voting data. Here's how to get one:
- Visit Koios Profile Page
- Connect your Cardano wallet
- Choose the free tier
- Create an API key
Once you have your Koios API key:
- Go to your repository's Settings
- Navigate to "Secrets and variables" → "Actions"
- Click "New repository secret"
- Name:
KOIOS_API_KEY - Value: Your API key from Koios
- Click "Add secret"
After completing the setup:
- Update the
config.jsonfile with your DRep ID and organization name - The GitHub Action will run automatically every Monday at midnight UTC
- You can also trigger it manually from the Actions tab
The action will generate markdown files containing your voting history, organized by year in the voting-history directory.