Generate Sponsors README #171
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@v2 | |
- 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/[email protected] | |
with: | |
token: ${{ secrets.SPONSOR_WORKFLOW_PAT }} | |
branch: "workflow/sponsors" | |
title: "🤖 Update Sponsors" | |
commit-message: "🤖 Update Sponsors" | |
body: "🤖 Automated pull request created by [sponsors action](https://github.com/reworkd/AgentGPT/actions/workflows/sponsors.yml)" | |
labels: "documentation" | |