Create markdown-lint.yml

This commit is contained in:
云微
2022-12-13 20:30:58 +08:00
committed by GitHub
parent bb8d1c37d2
commit ada48699e9

38
.github/workflows/markdown-lint.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "markdown-lint"
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '18 21 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: markdown-lint
# You may pin to the exact commit or the version.
# uses: articulate/actions-markdownlint@17b8abe7407cd17590c006ecc837c35e1ac3ed83
uses: articulate/actions-markdownlint@v1.1.0