public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v2] workflows: Add sync action
@ 2025-04-22 21:49 Luiz Augusto von Dentz
  2025-04-22 22:00 ` patchwork-bot+bluetooth
  2025-04-24 15:56 ` [BlueZ,v2] " bluez.test.bot
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2025-04-22 21:49 UTC (permalink / raw)
  To: linux-bluetooth

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

This adds sync action which was part of https://github.com/bluez/actions/
but it gets disabled every 60 days due to inactivity, in addition to
syncing with upstream repositories it also syncs with patchwork which
created the PR and then triggers ci action to do the testing.
---
 .github/workflows/sync.yml | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
 create mode 100644 .github/workflows/sync.yml

diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml
new file mode 100644
index 000000000000..cd85bdd478c3
--- /dev/null
+++ b/.github/workflows/sync.yml
@@ -0,0 +1,45 @@
+name: Sync Repositories and Patchwork
+on:
+  schedule:
+    - cron: "*/5 * * * *"
+
+jobs:
+  bluez:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: bluez/action-sync-repo@master
+      with:
+        src_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git'
+        src_branch: 'master'
+        dest_repo: 'bluez/bluez'
+        dest_branch: 'master'
+        secret_token: ${{ secrets.ACTION_TOKEN }}
+
+  bluetooth-next:
+    needs: bluez
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: bluez/action-sync-repo@master
+      with:
+        src_repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git'
+        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 }}
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH BlueZ v2] workflows: Add sync action
  2025-04-22 21:49 [PATCH BlueZ v2] workflows: Add sync action Luiz Augusto von Dentz
@ 2025-04-22 22:00 ` patchwork-bot+bluetooth
  2025-04-24 15:56 ` [BlueZ,v2] " bluez.test.bot
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2025-04-22 22:00 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue, 22 Apr 2025 17:49:35 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> This adds sync action which was part of https://github.com/bluez/actions/
> but it gets disabled every 60 days due to inactivity, in addition to
> syncing with upstream repositories it also syncs with patchwork which
> created the PR and then triggers ci action to do the testing.
> 
> [...]

Here is the summary with links:
  - [BlueZ,v2] workflows: Add sync action
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=46e6a3856dbd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [BlueZ,v2] workflows: Add sync action
  2025-04-22 21:49 [PATCH BlueZ v2] workflows: Add sync action Luiz Augusto von Dentz
  2025-04-22 22:00 ` patchwork-bot+bluetooth
@ 2025-04-24 15:56 ` bluez.test.bot
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2025-04-24 15:56 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: .github/workflows/sync.yml: already exists in index
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-04-24 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22 21:49 [PATCH BlueZ v2] workflows: Add sync action Luiz Augusto von Dentz
2025-04-22 22:00 ` patchwork-bot+bluetooth
2025-04-24 15:56 ` [BlueZ,v2] " bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox