Skip to content

sponsors

sponsors #926

Workflow file for this run

# refresh list of sponsors
name: sponsors
on:
workflow_dispatch:
schedule:
- cron: "0 23 * * *"
push:
paths:
- .github/workflows/sponsors.*
permissions:
contents: write
jobs:
sponsors:
runs-on: macOS-latest
steps:
- name: πŸ€– defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ vars.BOT_NAME || secrets.BOT_NAME }}
email: ${{ vars.BOT_EMAIL || secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: 🀘 checkout
uses: actions/checkout@v2
with:
token: ${{ env.GH_TOKEN }}
- name: πŸ”½ html2image
run: pip install --force-reinstall -v html2image==2.0.3
- name: πŸ’œ sponsors
shell: pwsh
run: ./.github/workflows/sponsors.ps1
env:
chrome: ${{ steps.chrome.outputs.chrome-path }}
sponsorable: ${{ github.repository_owner }}
- name: +Mᐁ includes
uses: devlooped/actions-include@v1
- name: βœ“ commit
continue-on-error: true
run: |
git add -A
git commit -m "πŸ’œ Refresh sponsors"
git push