File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111permissions :
1212 contents : write
13+ pull-requests : write
1314
1415jobs :
1516 sync-podcast :
@@ -29,10 +30,14 @@ jobs:
2930 - name : Sync podcast feed
3031 run : node .github/scripts/sync-podcast-feed.js
3132
32- - name : Commit new episodes
33- run : |
34- git config --local user.email "action@github.com"
35- git config --local user.name "GitHub Action"
36- git add content/podcast
37- git diff --staged --quiet || git commit -m "Sync new podcast episodes from feed"
38- git push
33+ - name : Create pull request for new episodes
34+ uses : peter-evans/create-pull-request@v8.1.1
35+ with :
36+ add-paths : |
37+ content/podcast
38+ branch : automation/sync-podcast
39+ commit-message : Sync new podcast episodes from feed
40+ title : Sync new podcast episodes from feed
41+ body : |
42+ Automated podcast sync from the Podbean feed.
43+ delete-branch : true
You can’t perform that action at this time.
0 commit comments