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

Merge pull request #1659 from adrianschroeter/token_wipe

"osc token": Don't crash when a wipe token exists
This commit is contained in:
Daniel Mach 2024-11-07 09:53:15 +01:00 committed by GitHub
commit 93b270ae76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
"""
),