Skip to content

Commit 2f967d8

Browse files
committed
Fix mirroring logic
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 80e8b57 commit 2f967d8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/mirror.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23+
token: ${{ secrets.PA_TOKEN }}
2324
- name: Install the latest version of uv
2425
uses: astral-sh/setup-uv@v3
2526
with:

tasks/mirror.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def run() -> None:
3131
missing_tags = sorted(Version(i) for i in released_tags - existing_tags)
3232

3333
if missing_tags and os.environ.get("GITHUB_ACTIONS"):
34-
check_call(["git", "config", "--global", "user.email", "[email protected]"])
35-
check_call(["git", "config", "--global", "user.name", "Mirroring Mike"])
34+
check_call(["git", "config", "--global", "user.email", "[email protected]"])
35+
check_call(["git", "config", "--global", "user.name", "Bernat Gabor"])
3636
toml = ROOT / "pyproject.toml"
3737

3838
for tag in missing_tags:

0 commit comments

Comments
 (0)