diff --git a/.github/workflows/sponsors.yaml b/.github/workflows/sponsors.yaml index 3e4a742ff987..8b42622c9c68 100644 --- a/.github/workflows/sponsors.yaml +++ b/.github/workflows/sponsors.yaml @@ -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: '.' \ No newline at end of file + 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 }} \ No newline at end of file