Skip to content

Commit 95ec7e4

Browse files
authored
Create PR on sponsors update
1 parent c9077f9 commit 95ec7e4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/sponsors-in-readme.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ jobs:
1616
organization: true
1717
token: ${{ secrets.SPONSORS_README_ACTION_PERSONAL_ACCESS_TOKEN }}
1818
file: 'README.md'
19-
- name: Deploy to GitHub Pages 🚀
20-
uses: JamesIves/github-pages-deploy-action@v4
19+
- name: Push PR
20+
uses: peter-evans/create-pull-request@v5
2121
with:
22-
branch: master
23-
folder: '.'
22+
commit-message: Update sponsors
23+
title: "Update sponsors"
24+
body: Update sponsors
25+
branch: sponsors
26+
base: ${{ inputs.target_branch }}
27+
delete-branch: true

0 commit comments

Comments
 (0)