From 3c87501c40fbea650688aac00fff33ae4ddcbfee Mon Sep 17 00:00:00 2001 From: Simone Date: Sat, 2 May 2026 22:32:36 +0200 Subject: [PATCH] ci: set explicit User-Agent for Gitea API calls --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2f01526..b3eecb7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -200,6 +200,7 @@ jobs: "Authorization": f"{auth_scheme} {token}", "Content-Type": "application/json", "Accept": "application/json", + "User-Agent": "GitHubActions-GiteaReleaseSync/1.0", }, ) with urllib.request.urlopen(req) as resp: @@ -315,6 +316,7 @@ jobs: "Authorization": f"{auth_scheme} {token}", "Content-Type": "application/json", "Accept": "application/json", + "User-Agent": "GitHubActions-GiteaReleaseSync/1.0", }, ) with urllib.request.urlopen(req) as resp: