mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-29 20:00:30 +00:00
Fix pipeline feed not updated by new events (#1424)
Co-authored-by: Anbraten <anton@ju60.de>
This commit is contained in:
parent
2dfa231184
commit
482678daf5
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,7 @@ type Feed struct {
|
|||
Name string `json:"name" xorm:"feed_repo_name"`
|
||||
FullName string `json:"full_name" xorm:"feed_repo_full_name"`
|
||||
|
||||
ID int64 `json:"id,omitempty" xorm:"feed_pipeline_id"`
|
||||
Number int64 `json:"number,omitempty" xorm:"feed_pipeline_number"`
|
||||
Event string `json:"event,omitempty" xorm:"feed_pipeline_event"`
|
||||
Status string `json:"status,omitempty" xorm:"feed_pipeline_status"`
|
||||
|
|
|
@ -23,6 +23,7 @@ import (
|
|||
var feedItemSelect = `repos.repo_owner as feed_repo_owner,
|
||||
repos.repo_name as feed_repo_name,
|
||||
repos.repo_full_name as feed_repo_full_name,
|
||||
pipelines.pipeline_id as feed_pipeline_id,
|
||||
pipelines.pipeline_number as feed_pipeline_number,
|
||||
pipelines.pipeline_event as feed_pipeline_event,
|
||||
pipelines.pipeline_status as feed_pipeline_status,
|
||||
|
|
Loading…
Reference in a new issue