forked from FusionAuth/fusionauth-site
-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (45 loc) · 1.85 KB
/
contentcheck.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
35
36
37
38
39
40
41
42
43
44
45
46
# Checks content for rules. Focused on new astro site
name: content_check
on:
pull_request:
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
check_content:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Check for blog posts that have incorrect categories
run: |
exit `src/scripts/check-for-incorrect-categories.sh`
shell: bash
- name: No absolute URLs referencing FusionAuth.io
run: |
exit `src/scripts/check-for-absolute-urls.sh`
shell: bash
- name: Check for erroneous markdown references
run: |
exit `src/scripts/check-for-incorrect-markdown-references.sh`
shell: bash
- name: Make sure all docs have a full sentence in their description.
run: |
exit `src/scripts/check-for-full-sentences-in-docs-descriptions.sh`
shell: bash
- name: check for APIFields with no name
run: |
exit `src/scripts/check-for-api-fields-no-name.sh`
shell: bash
- name: check for the word 'edition' which we don't use any more, excluding files it is okay to have 'edition' in
run: |
exit `src/scripts/check-for-use-of-word-edition.sh`
shell: bash
- name: check for the proper casing of word 'plan' which should always be lowercase when prefixed by Community, Starter, Enterprise or Essentials
run: |
exit `src/scripts/check-for-use-proper-casing-of-plan.sh`
shell: bash
- name: check unsorted vale keywords. error to fix because this decreases merge conflicts
run: |
exit `src/scripts/check-vale-vocab-sorted.sh`
shell: bash