Add (or update) GitHub Actions (GHA) files and related config. #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Markdown Quality Assistance | |
on: | |
# This event occurs when there is activity on a pull request. The workflow | |
# will be run against the commits, after merge to the target branch (main). | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '**.md' | |
- '.github/workflows/markdown.yml' | |
types: [ opened, reopened, synchronize ] | |
# This event occurs when there is a push to the repository. | |
push: | |
paths: | |
- '**.md' | |
- '.github/workflows/markdown.yml' | |
# Allow manually triggering the workflow. | |
workflow_dispatch: | |
# Cancels all previous workflow runs for the same branch that have not yet completed. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
# Needed to allow the "concurrency" section to cancel a workflow run. | |
actions: write | |
jobs: | |
# 01.quality.markdown.lint-syntax.yml | |
lint-markdown-syntax: | |
name: Markdown Linting | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker://pipelinecomponents/remark-lint | |
with: | |
args: >- | |
remark | |
--rc-path=.config/.remarkrc | |
--ignore-pattern='*/vendor/*' |