3049d8cb9a
Introduces CI workflows for YAML linting and secret detection, and adds basic configuration for both tools. Also adds a sample connectivity test playbook.
24 lines
481 B
YAML
24 lines
481 B
YAML
---
|
|
name: YAML Lint
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
yamllint:
|
|
runs-on: ubuntu-yamllint
|
|
steps:
|
|
- name: Checkout linting
|
|
uses: actions/checkout@v4
|
|
- name: Run yamllint with auto-detected config
|
|
run: yamllint -c .yamllint .
|
|
gitleaks:
|
|
runs-on: ubuntu-yamllint
|
|
steps:
|
|
- name: Checkout passwords leaks
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Run gitleaks
|
|
run: gitleaks detect --source .
|
|
...
|