Skip to content

Conversation

@mgoerens
Copy link
Contributor

In cases where a new redhat OWNERS file is added but the chart doesn't contain the redhat- prefix, the workflow would fail without creating a comment for the user due to trying to download the Submission artifact.

This artifact is missing (this is expected), because there was an issue during the parsing of the modified file in 'validate-submission'. This step should created a GitHub output 'submission_file_present'. This was not happening in that particular case due to 'ChartError' (exception raised when RedHat chart is missing the redhat- prefix) not being a SubmissionError exception.

Fix #465

In cases where a new redhat OWNERS file is added but the chart doesn't
contain the redhat- prefix, the workflow would fail without creating a
comment for the user due to trying to download the Submission artifact.

This artifact is missing (this is expected), because there was an issue
during the parsing of the modified file in 'validate-submission'. This
step should created a GitHub output 'submission_file_present'. This was
not happening in that particular case due to 'ChartError' (exception
raised when RedHat chart is missing the redhat- prefix) not being a
SubmissionError exception.

Fix openshift-helm-charts#465

Signed-off-by: Matthias Goerens <mgoerens@redhat.com>
This was referenced Oct 21, 2025
Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

/lgtm

@mgoerens mgoerens merged commit 10718cf into openshift-helm-charts:main Oct 21, 2025
34 checks passed
@mgoerens mgoerens deleted the fix_exception_hierarchy branch October 21, 2025 14:59
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.

PRs for OWNERS missing redhat- prefix don't get a comment

2 participants