Skip to content

Commit 50e738c

Browse files
fix: add missing checkout step to docs-pr CI job (#12)
* fix: add missing checkout step to docs-pr CI job dorny/paths-filter needs a git checkout to run git diff. The checkout step was accidentally removed when rewriting the docs-only skip logic. Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> * Update .github/workflows/pr-validate.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7190c69 commit 50e738c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr-validate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
outputs:
2424
docs-only: ${{ steps.docs-only.outputs.result }}
2525
steps:
26+
- uses: actions/checkout@v6
27+
with:
28+
fetch-depth: 2
2629
- uses: dorny/paths-filter@v3
2730
id: changes
2831
with:

0 commit comments

Comments
 (0)