mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 02:09:50 +02:00
Run doc lint only if files changed
This commit is contained in:
12
.github/workflows/lint-docs.yml
vendored
12
.github/workflows/lint-docs.yml
vendored
@@ -18,17 +18,17 @@ jobs:
|
|||||||
node-version: [16.x]
|
node-version: [16.x]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
# if: ${{ github.event_name == 'pull_request' }}
|
||||||
with:
|
# with:
|
||||||
# repository: ${{ github.event.pull_request.head.repo.full_name }}
|
# fetch-depth: 0
|
||||||
# ref: ${{ github.event.pull_request.head.ref }}
|
# repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||||
fetch-depth: 0
|
# ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
|
||||||
- name: Run changed-files using the fork point of a pull request
|
- name: Run changed-files using the fork point of a pull request
|
||||||
id: changed-files-fork-point
|
id: changed-files-fork-point
|
||||||
uses: tj-actions/changed-files@v29
|
uses: tj-actions/changed-files@v29
|
||||||
with:
|
with:
|
||||||
use_fork_point: 'true'
|
# use_fork_point: 'true'
|
||||||
files: |
|
files: |
|
||||||
packages/mermaid/src/docs/*
|
packages/mermaid/src/docs/*
|
||||||
packages/mermaid/src/docs.mts
|
packages/mermaid/src/docs.mts
|
||||||
|
Reference in New Issue
Block a user