Skip to content

Commit

Permalink
"osc token": Don't crash when a wipe token exists
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Nov 6, 2024
1 parent 0c5dda2 commit 7c6163d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/obs_api/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class Kind(str, Enum):
REBUILD = "rebuild"
RELEASE = "release"
RUNSERVICE = "runservice"
WIPE = "wipe"
WORKFLOW = "workflow"

kind: Kind = Field(
Expand All @@ -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
"""
),
Expand Down

0 comments on commit 7c6163d

Please sign in to comment.