Run the shared quality checks on pull requests #76

Merged
Tirsvad merged 1 commits from adopt-shared-quality-checks into main 2026-10-10 21:21:46 +02:00
2 changed files with 21 additions and 0 deletions
+3
View File
@@ -7,3 +7,6 @@ end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.sh]
switch_case_indent = true
+18
View File
@@ -0,0 +1,18 @@
name: Quality
# Calls the shared quality-check workflow of TirSystem/github-action
# (contract: ADR-0005 there). It runs shellcheck and shfmt on the tracked
# shell files and changes no file. Configuration comes from .shellcheckrc
# and .editorconfig in this repository.
on:
pull_request:
push:
branches: [ main ]
jobs:
quality:
permissions:
contents: read
uses: TirSystem/github-action/.gitea/workflows/quality-checks.yml@main
with:
languages: shell