File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,8 +357,18 @@ jobs:
357357 if : ${{ env.SYNC_ENABLED == 'true' }}
358358 run : |
359359 cp simplelogin-aio.xml target-repo/simplelogin-aio.xml
360- cd target-repo
361- git config user.name "github-actions[bot]"
362- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
363- git add simplelogin-aio.xml
364- git diff --quiet && git diff --staged --quiet || (git commit -m "chore: auto-sync simplelogin-aio.xml from upstream" && git push)
360+
361+ - name : Create sync pull request
362+ if : ${{ env.SYNC_ENABLED == 'true' }}
363+ uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
364+ with :
365+ token : ${{ secrets.SYNC_TOKEN }}
366+ path : target-repo
367+ add-paths : simplelogin-aio.xml
368+ commit-message : " chore: auto-sync simplelogin-aio.xml from upstream"
369+ branch : " sync-awesome-unraid/simplelogin-aio"
370+ delete-branch : true
371+ base : main
372+ title : " chore: sync simplelogin-aio template"
373+ body : |
374+ Automated sync from `JSONbored/simplelogin-aio`.
You can’t perform that action at this time.
0 commit comments