-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only run chart linting for specific files instead of trying to catch every exception #575
Conversation
…every exception Signed-off-by: jessebot <[email protected]>
Hm now the PR doesn't pass, because the workflow is set to be required. Could you adapt the workflow so that there is a summary job that always like in https://github.com/nextcloud/.github/blob/master/workflow-templates/node.yml? Then we can mark that one as required and we won't accidentally merge with red CI. |
lemme give it a try! |
oh, that did something! :O You're a genius, Kate! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm this looks wrong, as the chart testing step should be skipped since the changes in this PR didn't touch any of those files.
Signed-off-by: jessebot <[email protected]>
You're right, I missed the |
You can just change the name if you like. I'll change which workflow is required afterwards (but it will require every PR to be rebased). |
Looks like it is also fine to have the required job being skipped? Then we don't even need the summary job which was probably was just added for compatibility. |
oof, rebasing every PR in this repo will be pain.
I'm confused. How do I do that? 🤔 |
I think we actually don't need that, as the name of the required job won't change. |
Signed-off-by: jessebot <[email protected]>
…every exception (nextcloud#575) * only run chart linting for specific files instead of trying to catch every exception Signed-off-by: jessebot <[email protected]> * attempt to adapt changes from https://github.com/nextcloud/.github/blob/master/workflow-templates/node.yml Signed-off-by: jessebot <[email protected]> * add needs: changes to lint job Signed-off-by: jessebot <[email protected]> * remove summary job afterall Signed-off-by: jessebot <[email protected]> --------- Signed-off-by: jessebot <[email protected]> Signed-off-by: switzerchees <[email protected]>
…every exception (nextcloud#575) * only run chart linting for specific files instead of trying to catch every exception Signed-off-by: jessebot <[email protected]> * attempt to adapt changes from https://github.com/nextcloud/.github/blob/master/workflow-templates/node.yml Signed-off-by: jessebot <[email protected]> * add needs: changes to lint job Signed-off-by: jessebot <[email protected]> * remove summary job afterall Signed-off-by: jessebot <[email protected]> --------- Signed-off-by: jessebot <[email protected]>
Pull Request
Description of the change
Only run the chart linting action for:
charts/nextcloud/Chart.yaml
charts/nextcloud/values.yaml
charts/nextcloud/templates/**
(everything in the templates directory)Benefits
This is better than trying to manually exclude all the possible things we don't want to run it on.
Possible drawbacks
Can't think of any.
Additional information
This would fix the issue where this PR, #574, is trying to run the chart linter 🤦
Checklist
Chart.yaml
according to semver.