Skip to content

Commit

Permalink
Merge pull request openSUSE#117 from mimi1vx/staging
Browse files Browse the repository at this point in the history
Don't schedule incidents from staging area
  • Loading branch information
mimi1vx committed Apr 21, 2023
2 parents 9d917a2 + 4c17012 commit 0bb19e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openqabot/types/incidents.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ def __call__(
full_post["openqa"]["_ONLY_OBSOLETE_SAME_BUILD"] = "1"
full_post["openqa"]["_OBSOLETE"] = "1"
full_post["openqa"]["INCIDENT_ID"] = inc.id

if ci_url:
full_post["openqa"]["__CI_JOB_URL"] = ci_url

if inc.staging:
continue

if "packages" in data:
if not inc.contains_package(data["packages"]):
continue
Expand Down

0 comments on commit 0bb19e5

Please sign in to comment.