bglug.it/.gitea/workflows/unicode_check.yaml
amreo 26b86e0d6e
Some checks failed
Container Publish / build-image (push) Successful in 2m49s
Vulnerability Scan / Daily Vulnerability Scan (push) Failing after 7m4s
Aggiunto controllo scrittura bglug (#363)
Sistema #348 parzialmente (solo bglug)

Co-authored-by: amreo <amreo0x+github@protonmail.com>
Reviewed-on: #363
Reviewed-by: Paolo Asperti <paspo@noreply.libreschool.org>
Co-authored-by: amreo <amreo@noreply.libreschool.org>
Co-committed-by: amreo <amreo@noreply.libreschool.org>
2025-02-04 20:32:31 +00:00

30 lines
978 B
YAML

---
name: Linting markdown on PR
on:
pull_request:
jobs:
unicode-check:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: run markdownlint on changed files
uses: docker://ghcr.io/igorshubovych/markdownlint-cli
with:
entrypoint: /bin/sh
args: -c 'apk -U add git bash ; bash .gitea/workflows/markdownlint_pr.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}'
- name: check for unwanted unicode runes
run: |
bash .gitea/workflows/unwanted_unicode_pr.sh ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}
- name: check if bglug is written wrong
run: .gitea/workflows/check_bglug_convention.sh
- name: check if fablab is written wrong
run: .gitea/workflows/check_bglug_convention.sh