Skip to content

Commit

Permalink
fix: Open PR for sponsors
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Poignant <[email protected]>
  • Loading branch information
thomaspoignant committed Jul 25, 2024
1 parent f978255 commit 1021190
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .github/workflows/sponsors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,27 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
path: sponsors

- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
file: 'README.md'
file: 'sponsors/README.md'
fallback: 'No sponsor at the moment! 😢'

- name: Deploy README 🚀
uses: JamesIves/github-pages-deploy-action@v4
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: main
folder: '.'
branch: update-sponsor-list
title: "docs(README): Update sponsors list"
body: Automated pull request to update readme with the sponsors list
commit-message: Update readme with the sponsors list
labels: automerge
assignees: thomaspoignant
draft: false
signoff: true
delete-branch: true
path: sponsors
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}

0 comments on commit 1021190

Please sign in to comment.