diff mbox series

[BlueZ,v1] sync-repo: Add patchwork job to synchronize with patchwork

Message ID 20250422214340.991450-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v1] sync-repo: Add patchwork job to synchronize with patchwork | expand

Commit Message

Luiz Augusto von Dentz April 22, 2025, 9:43 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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(-)
diff mbox series

Patch

diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml
index 4b106ee4f68a..cd85bdd478c3 100644
--- a/.github/workflows/sync-repo.yml
+++ b/.github/workflows/sync-repo.yml
@@ -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 }}