diff mbox series

[BlueZ,v1,2/2] workflows: Add lint action

Message ID 20250424195643.1375697-2-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,v1,1/2] workflows: Add checkpatch action | expand

Commit Message

Luiz Augusto von Dentz April 24, 2025, 7:56 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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

Patch

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 000000000000..9f775cf638f6
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -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/super-linter@v7.3.0 # x-release-please-version
+        env:
+          # To report GitHub Actions status checks
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}