[PATCH BlueZ v1] workflow/sync: Fix workflow task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

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(-)

diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml
index 48def96b8aac..783e2369fd26 100644
--- a/.github/workflows/sync.yml
+++ b/.github/workflows/sync.yml
@@ -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
-- 
2.49.0





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux