1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-19 08:42:11 +01:00

"osc token": Don't crash when a wipe token exists

This commit is contained in:
Adrian Schröter 2024-11-06 13:13:55 +01:00
parent 0c5dda2fe3
commit 7c6163d3d8

View File

@ -63,6 +63,7 @@ class Token(XmlModel):
REBUILD = "rebuild"
RELEASE = "release"
RUNSERVICE = "runservice"
WIPE = "wipe"
WORKFLOW = "workflow"
kind: Kind = Field(
@ -74,6 +75,7 @@ class Token(XmlModel):
- 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
"""
),