From 7c6163d3d8c879c31808eb676b3499b438573824 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 6 Nov 2024 13:13:55 +0100 Subject: [PATCH] "osc token": Don't crash when a wipe token exists --- osc/obs_api/token.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/obs_api/token.py b/osc/obs_api/token.py index e7d6df94b..b0dc52a6d 100644 --- a/osc/obs_api/token.py +++ b/osc/obs_api/token.py @@ -63,6 +63,7 @@ class Kind(str, Enum): REBUILD = "rebuild" RELEASE = "release" RUNSERVICE = "runservice" + WIPE = "wipe" WORKFLOW = "workflow" kind: Kind = Field( @@ -74,6 +75,7 @@ class Kind(str, Enum): - rebuild: trigger rebuilds of packages - release: trigger project releases - runservice: run a service via the POST /trigger/runservice route + - wipe: trigger wipe of binary artifacts - workflow: trigger SCM/CI workflows, see https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.scm_ci_workflow_integration.html """ ),