mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-12 02:31:27 +08:00
add Github workflows
This commit is contained in:
22
.github/workflows/mardkwon-SEO.yaml
vendored
Normal file
22
.github/workflows/mardkwon-SEO.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: SEO check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
seocheck:
|
||||
name: Markdown SEO Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Markdown SEO Check
|
||||
uses: zentered/markdown-seo-check@v1.1.0
|
||||
with:
|
||||
max_title_length: 70
|
||||
max_description_length: 150
|
||||
max_slug_length: 100
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user