Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions config/downstream/repos/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ components:
no-image-suffix: true
- name: webhook
- name: proxy
excluded-slack-alert-workflows:
- render-olm-catalog

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This solution might not be required permanently.
Once SRVKP-12442 is fixed, We need to actively track the failures

patches: []
github:
update-sources: |
Expand Down
9 changes: 5 additions & 4 deletions internal/konflux/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ type Repository struct {
Patches []Patch
NoPrefixUpstream bool `json:"no-prefix-upstream" yaml:"no-prefix-upstream"`
UsePatchBranch bool `json:"use-patch-branch" yaml:"use-patch-branch"`
Owners []string `json:"owners" yaml:"owners"`
PrefetchInput string `json:"prefetch-input" yaml:"prefetch-input"`
MinVersion string `json:"min-version" yaml:"min-version"`
MaxVersion string `json:"max-version" yaml:"max-version"`
Owners []string `json:"owners" yaml:"owners"`
ExcludedSlackWorkflows []string `json:"excluded-slack-alert-workflows" yaml:"excluded-slack-alert-workflows"`
PrefetchInput string `json:"prefetch-input" yaml:"prefetch-input"`
MinVersion string `json:"min-version" yaml:"min-version"`
MaxVersion string `json:"max-version" yaml:"max-version"`
}
type Branch struct {
Name string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
notify:
runs-on: ubuntu-latest
if: {{ "${{ github.event.workflow_run.conclusion == 'failure' }}" }}
if: {{ "${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.name != 'auto-merge-upstream'" }}{{ range .ExcludedSlackWorkflows }} && github.event.workflow_run.name != '{{ . }}'{{ end }}{{ " }}" }}
steps:
- name: Send Slack notification
uses: slackapi/slack-github-action@v2.1.0
Expand Down