Skip to content

Commit c152386

Browse files
test 10
1 parent e28fe8f commit c152386

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/checks.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,13 @@ jobs:
4545
runs-on: ubuntu-latest
4646

4747
steps:
48-
- name: SCM Checkout
48+
- name: Checkout main branch
4949
uses: actions/checkout@v4
5050
with:
51-
fetch-depth: 0
52-
fetch-tags: 'origin/main'
51+
ref: main
52+
53+
- name: SCM Checkout
54+
uses: actions/checkout@v4
5355

5456
- name: Setup Python & Poetry Environment
5557
uses: ./.github/actions/python-environment
@@ -58,7 +60,7 @@ jobs:
5860

5961
- name: Run changelog update check
6062
run: |
61-
git diff --quiet origin/main -- doc/changes
63+
git diff --quiet main -- doc/changes
6264
echo "status: $?"
6365
poetry run nox -s changelog:updated
6466

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", "origin/main", "--", PROJECT_CONFIG.root / "doc/changes"],
45+
["git", "diff", "--quiet", "main", "--", PROJECT_CONFIG.root / "doc/changes"],
4646
#capture_output=True,
4747
)
4848
return p.returncode != 0

0 commit comments

Comments
 (0)