Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ROX-31146: Reduce spam of Konflux PRs, releasers can approve#2387

Merged
msugakov merged 4 commits intomasterstackrox/scanner:masterfrom
misha/ROX-31146-reduce-mintmaker-emailsstackrox/scanner:misha/ROX-31146-reduce-mintmaker-emailsCopy head branch name to clipboard
Nov 20, 2025
Merged

ROX-31146: Reduce spam of Konflux PRs, releasers can approve#2387
msugakov merged 4 commits intomasterstackrox/scanner:masterfrom
misha/ROX-31146-reduce-mintmaker-emailsstackrox/scanner:misha/ROX-31146-reduce-mintmaker-emailsCopy head branch name to clipboard

Conversation

@msugakov
Copy link
Contributor

@msugakov msugakov commented Nov 11, 2025

As discussed in this thread this should address the problem of excessive emails from MintMaker and give release engineers permissions to approve MintMaker PRs in a way that they can also merge them.

Validation

I tested a similar workflow on this repo fork in this PR https://github.com/stackrox/mishas-operator-index-fork/pull/2 - feel free to take it over and play with it.
Example workflow run: https://github.com/stackrox/mishas-operator-index-fork/actions/runs/19261803985/job/55068116863?pr=2.

Post-merge

My next steps after merging this PR would be these:

  • 1. Try opening a PR on this repo to make sure the workflow works as expected.
  • 2. Leave it for a day to see how it works for MintMaker PRs.
  • 3. Open PRs and backports for all three repos (stackrox, scanner, collector) in master and release branches.

@msugakov msugakov requested a review from a team as a code owner November 11, 2025 09:58
# At the same time, we want to be notified when humans, not the bot, request reviews (through CODEOWNERS) for the
# Konflux-related files. This job invites `konflux-maintainers` team for review for such cases.
if: |
github.event.requested_team.name == 'rhtap-maintainers' &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
github.event.requested_team.name == 'rhtap-maintainers' &&
github.event.requested_team.name == 'konflux-no-notifications' &&

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I felt -no-email is shorter than -no-notifications while means almost the same (notifications inbox in GitHub is cool but I'm not used to it).

.github/workflows/tag-more-reviewers.yaml Show resolved Hide resolved
@msugakov msugakov force-pushed the misha/ROX-31146-reduce-mintmaker-emails branch from b7bac31 to b122c37 Compare November 18, 2025 17:56
@msugakov msugakov changed the title ROX-31146: Add workflow for tagging konflux-maintainers ROX-31146: Reduce spam of Konflux PRs, releasers can approve Nov 18, 2025
.github/CODEOWNERS Show resolved Hide resolved
@msugakov msugakov requested review from a team and tommartensen November 18, 2025 18:09
@openshift-ci
Copy link

openshift-ci bot commented Nov 18, 2025

@msugakov: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-tests b122c37 link false /test e2e-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor

@tommartensen tommartensen left a comment

Choose a reason for hiding this comment

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

LGTM!

# This will automatically assign a team / people as reviewers for PRs based on the files changed within the PR.

* @stackrox/scanner
* @stackrox/scanner @stackrox/release-mgmt-no-email
Copy link
Contributor

Choose a reason for hiding this comment

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

This will assign @stackrox/release-mgmt-no-email as a required reviewer on every PR - this intentional?

Copy link
Contributor Author

@msugakov msugakov Nov 19, 2025

Choose a reason for hiding this comment

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

Good point. Actually, do we need this to happen @tommartensen ? To put it differently, at some point I felt it's sensible to have @stackrox/release-mgmt-no-email for any Scanner PRs, intending the ones against the release branches. Now, when I think of this, we have MintMaker PRs covered by the rules below, and I can't think of any other cases when the release engineers would need this.

This reminds me of the discussion that we had in that thread but did not wrap up.

Copy link
Contributor

Choose a reason for hiding this comment

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

We don't need it now.

In my suggestion I added it as intended for release branches. It could be helpful there to progress the release without waiting on scanner team (though scanner team runs their own releases today, so we still rely on them anyways).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool. Removed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments

Close sidebar
Morty Proxy This is a proxified and sanitized view of the page, visit original site.