Skip to content

Commit 062b89c

Browse files
test 11
1 parent c152386 commit 062b89c

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/checks.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ jobs:
4545
runs-on: ubuntu-latest
4646

4747
steps:
48-
- name: Checkout main branch
49-
uses: actions/checkout@v4
50-
with:
51-
ref: main
52-
5348
- name: SCM Checkout
5449
uses: actions/checkout@v4
5550

51+
- name: Fetch the main branch
52+
run: git fetch origin/main
53+
5654
- name: Setup Python & Poetry Environment
5755
uses: ./.github/actions/python-environment
5856
with:

exasol/toolbox/nox/_documentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ 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", "--quiet", "main", "--", PROJECT_CONFIG.root / "doc/changes"],
45+
["git", "diff", "--quiet", "origin/main", "--", PROJECT_CONFIG.root / "doc/changes"],
4646
#capture_output=True,
4747
)
4848
return p.returncode != 0

0 commit comments

Comments
 (0)