Skip to content

Commit 286c83c

Browse files
committed
chore: Template upgrade
1 parent 4115500 commit 286c83c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 0.15.0
2+
_commit: 0.15.1
33
_src_path: gh:pawamoy/copier-pdm.git
44
author_email: pawamoy@pm.me
55
author_fullname: Timothée Mazzucotelli

.github/workflows/dists.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
build:
99
name: Build dists
1010
runs-on: ubuntu-latest
11+
if: github.repository_owner == 'pawamoy-insiders'
1112
steps:
1213
- name: Checkout
1314
uses: actions/checkout@v3

scripts/gen_credits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _get_deps(base_deps: Mapping[str, Mapping[str, str]]) -> dict[str, dict[str,
6363
for pkg_dependency in lock_pkgs[pkg_name].get("dependencies", []):
6464
parsed = regex.match(pkg_dependency).groupdict() # type: ignore[union-attr]
6565
dep_name = parsed["dist"].lower()
66-
if dep_name not in deps and dep_name != project["name"]:
66+
if dep_name not in deps and dep_name != project["name"] and dep_name in lock_pkgs:
6767
deps[dep_name] = {"license": _get_license(dep_name), **parsed, **lock_pkgs[dep_name]}
6868
again = True
6969

0 commit comments

Comments
 (0)