From e02a1489939cacb078b7609d533085514cdf1839 Mon Sep 17 00:00:00 2001 From: NebulaOnion Date: Tue, 8 Nov 2022 14:32:59 +0000 Subject: [PATCH 1/2] Add experimental megalinter support --- .drone.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4d5e77e..4d25143 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,4 +10,18 @@ steps: commands: - gem install bundler - bundle install - - bundle exec jekyll build \ No newline at end of file + - bundle exec jekyll build + +kind: pipeline +type: docker +name: MegaLinter + +workspace: + path: /tmp/lint + +steps: + +- name: megalinter + image: oxsecurity/megalinter:v6 + environment: + DEFAULT_WORKSPACE: /tmp/lint \ No newline at end of file From 31765ca8cc379a04cdcdb8dbe7f198efecdf7df3 Mon Sep 17 00:00:00 2001 From: NebulaOnion Date: Tue, 8 Nov 2022 14:59:04 +0000 Subject: [PATCH 2/2] Properly separate pipelines --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index 4d25143..d5200f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,7 @@ steps: - bundle install - bundle exec jekyll build +--- kind: pipeline type: docker name: MegaLinter