Skip to contentSkip to conversation

sync-repo: Add patchwork job to synchronize with patchwork

PATCH New Luiz Augusto von Dentz 1 participant 1 message Apr 22, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 sync-repo: Add patchwork job to synchronize with patchwork

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

This is required in order to pickup the pending patches and create PR which then triggers ci action to run.

---
 .github/workflows/sync-repo.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
.github/workflows/sync-repo.yml +17 -1
index 4b106ee4f68a..cd85bdd478c3 100644
@@ -1,4 +1,4 @@
-name: Sync Repo
+name: Sync Repositories and Patchwork
 on:
   schedule:
     - cron: "*/5 * * * *"
@@ -27,3 +27,19 @@ jobs:
         dest_repo: 'bluez/bluetooth-next'
         for_upstream_branch: 'for-upstream'
         secret_token: ${{ secrets.ACTION_TOKEN }}
+
+  patchwork:
+    needs: bluez
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+
+    - name: Sync Patchwork
+      uses: tedd-an/bzcafe@main
+      with:
+        task: patchwork
+        space: user
+        github_token: ${{ secrets.ACTION_TOKEN }}
+        email_token: ${{ secrets.EMAIL_TOKEN }}
+        patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
+        patchwork_user: ${{ secrets.PATCHWORK_USER }}
Signature · 1 line
2.49.0