summaryrefslogtreecommitdiffstats
path: root/src/fluent-bit/lib/cfl/.github/workflows/lint.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:08:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 12:08:18 +0000
commit5da14042f70711ea5cf66e034699730335462f66 (patch)
tree0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/cfl/.github/workflows/lint.yaml
parentReleasing debian version 1.44.3-2. (diff)
downloadnetdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz
netdata-5da14042f70711ea5cf66e034699730335462f66.zip
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/cfl/.github/workflows/lint.yaml')
-rw-r--r--src/fluent-bit/lib/cfl/.github/workflows/lint.yaml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/cfl/.github/workflows/lint.yaml b/src/fluent-bit/lib/cfl/.github/workflows/lint.yaml
new file mode 100644
index 000000000..7e3dc05b6
--- /dev/null
+++ b/src/fluent-bit/lib/cfl/.github/workflows/lint.yaml
@@ -0,0 +1,30 @@
+name: Lint PRs
+on:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ shellcheck:
+ runs-on: ubuntu-latest
+ name: Shellcheck
+ permissions:
+ contents: read
+ steps:
+ - uses: actions/checkout@v3
+ - uses: ludeeus/action-shellcheck@master
+ with:
+ ignore_paths: lib
+
+ actionlint:
+ runs-on: ubuntu-latest
+ name: Actionlint
+ permissions:
+ contents: read
+ steps:
+ - uses: actions/checkout@v3
+ - run: |
+ echo "::add-matcher::.github/actionlint-matcher.json"
+ bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
+ ./actionlint -color -shellcheck=
+ shell: bash
+