Initial own-git docs, configs, scripts, and hardening pack
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
name: Scripts And Docs Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "scripts/**"
|
||||
- "README.md"
|
||||
- "docs/**"
|
||||
- ".github/workflows/scripts-and-docs-check.yml"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "scripts/**"
|
||||
- "README.md"
|
||||
- "docs/**"
|
||||
- ".github/workflows/scripts-and-docs-check.yml"
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install shellcheck
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y shellcheck
|
||||
|
||||
- name: Run shellcheck
|
||||
run: |
|
||||
shellcheck scripts/*.sh
|
||||
|
||||
markdown-links:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check markdown links
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-quiet-mode: "yes"
|
||||
use-verbose-mode: "no"
|
||||
config-file: ".github/mlc_config.json"
|
||||
folder-path: "."
|
||||
file-extension: ".md"
|
||||
Reference in New Issue
Block a user