payid_xrp_action
What?
A Github Action that pays a contributor in XRP for every commit This means you can define an amount to be paid every time someone pushes commits to you repository.
The address to send the payment to is looked up via PayIds in the commit messages.
How to set it up?
An example workflow:
name: Pay contributors
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
jobs:
pay:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: get commit message
run: |
echo ::set-env name=commit_log::$(git log --format=%B ${{ github.event.before }}..${{ github.event.after }})
- name: Run PayID
uses: hammertoe/payid_xrp_action@master
with:
commit_log: ${{ env.commit_log }}
wallet_secret: ${{ secrets.PAYID_WALLET_SECRET }}
amount: 1000000
The above workflow will pay each PayId…