diff mbox series

[BlueZ,v1] workflows: Add sync-repo action

Message ID 20250422211827.987293-1-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v1] workflows: Add sync-repo action | expand

Commit Message

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

This adds sync-repo which was part of https://github.com/bluez/actions/
but it gets disabled every 60 days due to inactivity.
---
 .github/workflows/sync-repo.yml | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 .github/workflows/sync-repo.yml

Comments

bluez.test.bot@gmail.com April 25, 2025, 6:30 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=955880

---Test result---

Test Summary:
CheckPatch                    PENDING   0.25 seconds
GitLint                       PENDING   0.25 seconds
BuildEll                      PASS      20.30 seconds
BluezMake                     PASS      2672.80 seconds
MakeCheck                     PASS      19.89 seconds
MakeDistcheck                 PASS      199.00 seconds
CheckValgrind                 PASS      277.29 seconds
CheckSmatch                   PASS      303.01 seconds
bluezmakeextell               PASS      127.54 seconds
IncrementalBuild              PENDING   0.30 seconds
ScanBuild                     PASS      916.55 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:



---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/.github/workflows/sync-repo.yml b/.github/workflows/sync-repo.yml
new file mode 100644
index 000000000000..4b106ee4f68a
--- /dev/null
+++ b/.github/workflows/sync-repo.yml
@@ -0,0 +1,29 @@ 
+name: Sync Repo
+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 }}