Skip to content

Commit

Permalink
add: super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
somaz94 committed Jun 24, 2024
1 parent fe8d04a commit 491a3a9
Show file tree
Hide file tree
Showing 7 changed files with 105 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
- package-ecosystem: docker
directory: /
schedule:
interval: weekly
groups:
docker-minor:
update-types:
- minor
- patch

- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
actions-minor:
update-types:
- minor
- patch
7 changes: 7 additions & 0 deletions .github/linters/.checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
quiet: true
skip-check:
# Ensure that HEALTHCHECK instructions have been added to container images
- CKV_DOCKER_2
# Ensure that a user for the container has been created
- CKV_DOCKER_3
- CKV_GHA_7
6 changes: 6 additions & 0 deletions .github/linters/.jscpd.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"absolute": true,
"ignore": [
".github/workflows/*"
]
}
23 changes: 23 additions & 0 deletions .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Unordered list style
MD004:
style: dash

MD013:
line_length: 100
code_blocks: false
tables: false

# Ordered list item prefix
MD029:
style: one

# Spaces after list markers
MD030:
ul_single: 1
ol_single: 1
ul_multi: 1
ol_multi: 1

# Code block style
MD046:
style: fenced
10 changes: 10 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
rules:
document-end: disable
document-start:
level: warning
present: false
line-length:
level: warning
max: 80
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true
32 changes: 32 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Lint Codebase

on:
pull_request:
push:
branches:
- main

permissions:
contents: read
packages: read
statuses: write

jobs:
lint:
name: Lint Codebase
runs-on: ubuntu-latest

steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Lint Codebase
id: super-linter
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# 🛠️ cicd-monitoring

A curated collection of CI/CD pipelines and instructions on how to install and set up the associated monitoring tools across various environments.
[![GitHub Super-Linter](https://github.com/actions/container-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)

A curated collection of CI/CD pipelines and instructions on how to install
and set up the associated monitoring tools across various environments.

<br/>

## 🌐 Directory Structure

### 🌩️ AWS

The AWS directory contains configurations and instructions for deploying tools on the Amazon Web Services platform.
The AWS directory contains configurations and instructions
for deploying tools on the Amazon Web Services platform.

📁 `aws`
- 🚀 `argocd`
Expand Down

0 comments on commit 491a3a9

Please sign in to comment.