Skip to contentSkip to conversation

workflows: Add checkpatch action

PATCH Applied Luiz Augusto von Dentz 2 participants 3 messages Apr 24, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/2 workflows: Add checkpatch action

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

This adds checkpatch action rather replacing the custom CI one which will be going to be disabled.

---
 .github/workflows/checkpatch.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .github/workflows/checkpatch.yml
.github/workflows/checkpatch.yml new file +14 -0
new file mode 100644
index 000000000000..42ef7d03e157
@@ -0,0 +1,14 @@
+name: Checkpatch on PR
+
+on: [pull_request]
+
+jobs:
+  my_review:
+    name: checkpatch
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v1
+    - name: Run checkpatch review
+      uses: webispy/checkpatch-action@master
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Signature · 1 line
2.49.0
author maintainer
#1 lore raw

PATCH 2/2 workflows: Add lint action

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

This adds lint action replacing the custom CI one which will be going to be disabled.

---
 .github/workflows/lint.yml | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 .github/workflows/lint.yml
.github/workflows/lint.yml new file +32 -0
new file mode 100644
index 000000000000..9f775cf638f6
@@ -0,0 +1,32 @@
+---
+name: Lint
+
+on: # yamllint disable-line rule:truthy
+  push: null
+
+permissions: {}
+
+jobs:
+  build:
+    name: Lint
+    runs-on: ubuntu-latest
+
+    permissions:
+      contents: read
+      packages: read
+      # To report GitHub Actions status checks
+      statuses: write
+
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v4
+        with:
+          # super-linter needs the full git history to get the
+          # list of files that changed across commits
+          fetch-depth: 0
+
+      - name: Super-linter
+        uses: super-linter/[email protected] # x-release-please-version
+        env:
+          # To report GitHub Actions status checks
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Signature · 1 line
2.49.0
#2 lore raw
In reply to Luiz Augusto von Dentz
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 8 lines · On Thu, 24 Apr 2025 15:56:41 -0400 you wrote:

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

This adds checkpatch action rather replacing the custom CI one which will be going to be disabled.

---
 .github/workflows/checkpatch.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .github/workflows/checkpatch.yml

Here is the summary with links:
- [BlueZ,v1,1/2] workflows: Add checkpatch action

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=55b02fe5a2bd
  - [BlueZ,v1,2/2] workflows: Add lint action
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=faca96e9c9a3

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html