Skip to contentSkip to conversation

workflow/sync: Fix workflow task

PATCH Applied Luiz Augusto von Dentz 2 participants 2 messages Apr 23, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 workflow/sync: Fix workflow task

From: Luiz Augusto von Dentz <[email protected]>

Sync repo from bzcafe does assume that syncing with master has not happened yet, thus it aborts before syncing the workflow branch which is required for patchwork task to create PRs.

---
 .github/workflows/sync.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
.github/workflows/sync.yml +7 -4
index 48def96b8aac..783e2369fd26 100644
@@ -41,11 +41,14 @@ jobs:
         github_token: ${{ secrets.ACTION_TOKEN }}
 
     - name: Sync Workflow
-      uses: tedd-an/bzcafe@main
+    - uses: bluez/action-sync-repo@master
       with:
-        task: sync
-        upstream_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git'
-        github_token: ${{ secrets.GITHUB_TOKEN }}
+        task: workflow
+        src_repo: 'https://github.com/bluez/bluez.git'
+        src_branch: 'master'
+        dest_repo: 'bluez/bluez'
+        dest_branch: 'workflow'
+        secret_token: ${{ secrets.ACTION_TOKEN }}
 
     - name: Sync Patchwork
       uses: tedd-an/bzcafe@main
Signature · 1 line
2.49.0
#1 lore raw
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 8 lines · On Wed, 23 Apr 2025 15:29:12 -0400 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

Sync repo from bzcafe does assume that syncing with master has not happened yet, thus it aborts before syncing the workflow branch which is required for patchwork task to create PRs.

---
 .github/workflows/sync.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Here is the summary with links:
- [BlueZ,v1] workflow/sync: Fix workflow task

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=e06ed62241c4

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html