Skip to content

Commit 4096eeb

Browse files
test 2
1 parent 23c8ec6 commit 4096eeb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Run changelog update check
5757
run: |
58-
git diff main doc/changes
58+
git diff main -- doc/changes
5959
echo "status: $?"
6060
poetry run nox -s changelog:updated
6161

exasol/toolbox/nox/_documentation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def _build_multiversion_docs(session: nox.Session, config: Config) -> None:
4242
def _git_diff_changes_main() -> bool:
4343
"""return True if doc/changes is unchanged"""
4444
p = subprocess.run(
45-
["git", "diff", "main", "--quiet", Path(PROJECT_CONFIG.root, "doc/changes")],
46-
#capture_output=True,
45+
["git", "diff", "--quiet", "main", "--", PROJECT_CONFIG.root / "doc/changes"],
46+
capture_output=True,
4747
)
4848
return p.returncode != 0
4949

0 commit comments

Comments
 (0)