Generate Sponsors README #105
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 Sponsors README | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 # Update the version number here | |
- name: Print Git info | |
run: | | |
echo "Git version:" | |
git --version | |
echo "Remote URL:" | |
git remote -v | |
- name: Generate Sponsors 💖 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.SPONSOR_WORKFLOW_PAT }} | |
file: 'README.md' | |
minimum: 1399 | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 # Update the version number here | |
env: | |
GITHUB_TOKEN: ${{ secrets.SPONSOR_WORKFLOW_PAT }} | |
with: | |
branch: "workflow/sponsors" | |
title: "🤖 Update Sponsors" | |
commit-message: "🤖 Update Sponsors" | |
body: "🤖 Automated pull request created by sponsors action" | |
labels: "documentation" |