From 9f10541b0f62dbfbe1eaafcd69f9ac6f225e8fd1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Jul 2026 22:09:07 +0000 Subject: [PATCH 1/2] Initial plan From f3648fdfe116923c8d6418b4f327e1d7fb7c4218 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Jul 2026 22:11:20 +0000 Subject: [PATCH 2/2] Fix podcast sync workflow for protected main --- .github/workflows/podcast-sync.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/podcast-sync.yml b/.github/workflows/podcast-sync.yml index c278cd7be..843b35c94 100644 --- a/.github/workflows/podcast-sync.yml +++ b/.github/workflows/podcast-sync.yml @@ -10,6 +10,7 @@ on: permissions: contents: write + pull-requests: write jobs: sync-podcast: @@ -29,10 +30,14 @@ jobs: - name: Sync podcast feed run: node .github/scripts/sync-podcast-feed.js - - name: Commit new episodes - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add content/podcast - git diff --staged --quiet || git commit -m "Sync new podcast episodes from feed" - git push + - name: Create pull request for new episodes + uses: peter-evans/create-pull-request@v8.1.1 + with: + add-paths: | + content/podcast + branch: automation/sync-podcast + commit-message: Sync new podcast episodes from feed + title: Sync new podcast episodes from feed + body: | + Automated podcast sync from the Podbean feed. + delete-branch: true