Skip to content

Commit

Permalink
Update markdown.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chicco785 committed Dec 18, 2024
1 parent 1ac3770 commit de9e59f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/markdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,31 @@ jobs:
git push
- name: Fix apparmor issue for puppeteer
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- name: Default configuration for link checker
run: |
FILE=${{ inputs.config-link-path || '.github/config/.linkspector.yml' }}
if [ -f $FILE ]; then
echo "'$FILE' Exists"
else
# Write content to the file
cat <<EOF > "$FILE"
dirs:
- .
excludedDirs:
- vendor
useGitIgnore: true
aliveStatusCodes:
- 200
- 201
- 204
- 206
- 429
ignorePatterns:
- pattern: '^http(s?)://localhost'
- pattern: '^https://github.com/orgs/zaphiro-technologies/'
- pattern: '^https://github.com/zaphiro-technologies/'
EOF
fi
- name: Check links
uses: umbrelladocs/action-linkspector@v1
with:
Expand Down

0 comments on commit de9e59f

Please sign in to comment.