Skip to content
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

fix: (owl-bot) add ignore files list to refreshConfigs function #5007

Merged
merged 6 commits into from
Mar 24, 2023

Conversation

sofisl
Copy link
Contributor

@sofisl sofisl commented Mar 20, 2023

Fixes #4980

@sofisl sofisl changed the title fix(owl-bot): add ignore files list to refreshConfigs function fix: (owl-bot) add ignore files list to refreshConfigs function Mar 21, 2023
@@ -31,6 +31,9 @@ import {shouldIgnoreRepo} from './should-ignore-repo';

type ListReposResponse = Endpoints['GET /orgs/{org}/repos']['response'];

export const CONFIG_PATHS_TO_SKIP = [
'packages/gapic-node-templating/templates/bootstrap-templates/.OwlBot.yaml',
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a comment explaining why this path is being skipped.

...badConfig.errorMessages,
].join('\n* ')
);
if (!CONFIG_PATHS_TO_SKIP.includes(badConfig.path)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

When the path is skipped, please write a log statement citing the path that was skipped and why.

@sofisl sofisl merged commit 17aa4ed into main Mar 24, 2023
@sofisl sofisl deleted the addIgnoreFileOwlbot branch March 24, 2023 19:58
@release-please release-please bot mentioned this pull request Aug 21, 2023
@release-please release-please bot mentioned this pull request Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How do I get owlbot to ignore a template file?
3 participants