Skip to content
Merged
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
5 changes: 3 additions & 2 deletions .github/workflows/python-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:

concurrency:
group: bump-and-release-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress:
${{ ! startsWith(github.event.head_commit.message, 'bump:') }}

jobs:
black:
Expand All @@ -35,7 +36,7 @@ jobs:

release:
needs: test
if: ${{ !startsWith(github.event.head_commit.message, 'bump:') }}
if: ${{ ! startsWith(github.event.head_commit.message, 'bump:') }}
# Don't run 'bump:'
permissions:
contents: write
Expand Down
3 changes: 2 additions & 1 deletion src/pointofview/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
"""

import re
from collections import OrderedDict
from importlib import metadata
from typing import OrderedDict, Optional
from typing import Optional

__version__ = metadata.version(__name__)

Expand Down