Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboardApproval": true
}
2 changes: 1 addition & 1 deletion .github/workflows/changelog_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
title = 'Version Mismatch'
)

if os.environ[ "SOURCE_CHANGED" ] == 'true' and 1 < len( head_changes ):
if os.environ[ "SOURCE_CHANGED" ] == 'true' and head_changes and base_changes:
last_version = head_changes[ 1 ][ "version" ]
incremented = ( last_version.bump_major(), last_version.bump_minor(), last_version.bump_patch() )
if head_changes[ 0 ][ "version" ] not in incremented:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: >-
gh pr view --repo ${{ github.event.pull_request.base.repo.full_name }}
--json comments --jq '.comments |
map( select( .body | startswith( "<!-- PyLint Comment: Unit Testing -->" ) ) ) |
map( select( .body | startswith( "<!-- PyLint Comment: ${{ github.workflow }} -->" ) ) ) |
"comment-id=\( .[ -1 ].url // "" | split( "#issuecomment-" )[ 1 ] // "" )"
' ${{ github.event.pull_request.number }} >> "$GITHUB_OUTPUT"
- uses: peter-evans/create-or-update-comment@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ urls.changelog = "https://github.com/JasonStiefel/changelog-parser/blob/main/CHA
dynamic = [ "version" ]

dependencies = [
"semver"
"semver==3.0.1"
]

[tool.setuptools.dynamic]
Expand Down