Skip to content

Commit 15230fb

Browse files
authored
Update config (#245)
1 parent 0802447 commit 15230fb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
update_release_draft:
19-
if: github.repository_owner == 'python-humanize'
19+
if: github.event.repository.fork == false
2020
permissions:
2121
# write permission is required to create a GitHub Release
2222
contents: write

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
release-test-pypi:
4343
name: Publish in-dev package to test.pypi.org
4444
if: |
45-
github.repository_owner == 'python-humanize'
45+
github.event.repository.fork == false
4646
&& github.event_name == 'push'
4747
&& github.ref == 'refs/heads/main'
4848
runs-on: ubuntu-latest
@@ -67,7 +67,7 @@ jobs:
6767
release-pypi:
6868
name: Publish released package to pypi.org
6969
if: |
70-
github.repository_owner == 'python-humanize'
70+
github.event.repository.fork == false
7171
&& github.event.action == 'published'
7272
runs-on: ubuntu-latest
7373
needs: build-package

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ commands =
3232
[testenv:lint]
3333
skip_install = true
3434
deps =
35-
pre-commit
35+
pre-commit-uv
3636
pass_env =
3737
PRE_COMMIT_COLOR
3838
commands =

0 commit comments

Comments
 (0)