mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 21:30:35 +00:00
Use the PR base branch as reference when linting
To determine the changed files, the Markdown linter needs to know the base branch; instead of using the default everywhere, use the base branch set in the PR. Signed-off-by: Stephen Kitt <skitt@redhat.com>
This commit is contained in:
committed by
Thomas Pantelis
parent
83aeade0cc
commit
0d566a4104
@@ -31,6 +31,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
config-file: ".markdownlinkcheck.json"
|
config-file: ".markdownlinkcheck.json"
|
||||||
check-modified-files-only: "yes"
|
check-modified-files-only: "yes"
|
||||||
|
base-branch: ${{ github.base_ref }}
|
||||||
|
|
||||||
markdownlint:
|
markdownlint:
|
||||||
name: Markdown
|
name: Markdown
|
||||||
|
|||||||
Reference in New Issue
Block a user