Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pipeline #119

Merged
merged 11 commits into from
Jul 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix gitpython check
hejamu committed Jul 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 4abbed39183712fbaebdbc4a7ac923ad3783a8f9
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
with:
ref: ${{ github.head_ref }}
fetch-depth: 1
fetch-tags: True
2 changes: 1 addition & 1 deletion devtools/check_changelog.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ class ChangelogError(Exception):
# Check if the developer is on the main branch
# We check if the head commit is the same as the main branch head commit
# as the CI will be in detached head state
if repo.head.commit == repo.branches["main"].commit:
if repo.active_branch.name == 'main':
print("You are on the main branch. Nothing to check.")
exit(0)