new simple workflow for ruff linter checks
Some checks failed
Ansible Linting / ansible-lint (push) Failing after 4s
Secops Linting and Safety Checks / checkov-scan-s3 (push) Failing after 17s
Wiki Resources Sanity Checks / ruff-checks (push) Failing after 0s

This commit is contained in:
2026-04-24 14:32:35 -07:00
parent a82170a603
commit 6a0cd25aee
3 changed files with 20 additions and 13 deletions

View File

@@ -0,0 +1,18 @@
name: Wiki Resources Sanity Checks
on:
push:
branches:
- master
jobs:
ruff-checks:
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Perform linting with ruff
uses: astral-sh/ruff-action@v3
run: ruff check
with:
src: "wiki-resources"

2
.gitignore vendored
View File

@@ -22,3 +22,5 @@ docker/beta/resume.shockrah.xyz/
k8s/config.yaml k8s/config.yaml
infra/**/tfplan infra/**/tfplan
.ansible/ .ansible/
wiki-resources/public_infrastructure.png

View File

@@ -1,13 +0,0 @@
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/pipeline/#customization
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
- test
sast:
stage: test
include:
- template: Security/SAST.gitlab-ci.yml