From 55b21dfd301733c1a5fd7bf2b61f05b6f6dd1867 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Sun, 26 May 2024 14:13:24 +1000 Subject: [PATCH] Update sponsors action --- .github/workflows/sponsors.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 0fa25803..514a367b 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -9,19 +9,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Generate Sponsors 💖 - uses: JamesIves/github-sponsors-readme-action@v1.0.8 + uses: JamesIves/github-sponsors-readme-action@v1.2.2 with: token: ${{ secrets.SPONSORS_TOKEN }} - file: 'README.md' + file: "README.md" + if: ${{ github.repository == 'jesseduffield/lazydocker' }} - - name: Commit and push if changed - run: |- - git diff - git config --global user.email "actions@users.noreply.github.com" - git config --global user.name "README-bot" - git add README.md - git commit -m "Updated README.md" || exit 0 - git push + - name: Create Pull Request 🚀 + uses: peter-evans/create-pull-request@v6 + with: + commit-message: "README.md: Update Sponsors" + title: "README.md: Update Sponsors" + author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" + labels: "ignore-for-release" + delete-branch: true