mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-21 01:32:10 +01:00
"osc token": Don't crash when a wipe token exists
This commit is contained in:
parent
0c5dda2fe3
commit
7c6163d3d8
@ -63,6 +63,7 @@ class Token(XmlModel):
|
|||||||
REBUILD = "rebuild"
|
REBUILD = "rebuild"
|
||||||
RELEASE = "release"
|
RELEASE = "release"
|
||||||
RUNSERVICE = "runservice"
|
RUNSERVICE = "runservice"
|
||||||
|
WIPE = "wipe"
|
||||||
WORKFLOW = "workflow"
|
WORKFLOW = "workflow"
|
||||||
|
|
||||||
kind: Kind = Field(
|
kind: Kind = Field(
|
||||||
@ -74,6 +75,7 @@ class Token(XmlModel):
|
|||||||
- rebuild: trigger rebuilds of packages
|
- rebuild: trigger rebuilds of packages
|
||||||
- release: trigger project releases
|
- release: trigger project releases
|
||||||
- runservice: run a service via the POST /trigger/runservice route
|
- 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
|
- workflow: trigger SCM/CI workflows, see https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.scm_ci_workflow_integration.html
|
||||||
"""
|
"""
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user