-
Notifications
You must be signed in to change notification settings - Fork 544
34 lines (32 loc) · 1.09 KB
/
es-spellcheck.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2022
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Spellcheck CI
# yamllint disable-line rule:truthy
on:
pull_request:
paths:
- 'content/es/**/*.md'
branches:
- dev-es
workflow_dispatch:
jobs:
check-spanish-spellcheck:
name: Run PySpelling tool to verify spanish spelling issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check word list sort
run: |
set -o errexit
diff content/es/.wordlist.txt <(LC_ALL= sort -f content/es/.wordlist.txt)
- name: GitHub Spellcheck Action
uses: rojopolis/[email protected]
with:
config_path: content/es/.spellcheck.yml