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>
30 lines
978 B
YAML
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
|