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 config #45

Conversation

whilefoo
Copy link

@whilefoo whilefoo commented Nov 14, 2023

@pavlovcik I implemented the custom array merger so in case of strings it concats arrays and removes duplicates and in case of objects just concats.
I changed commands to disabledCommands as array of strings and I changed time and priority labels to array of strings

@whilefoo whilefoo marked this pull request as ready for review November 16, 2023 18:18
Comment on lines +15 to +23
const orgConfig = parseYaml(
await download({
context,
repository: UBIQUIBOT_CONFIG_REPOSITORY,
owner: payload.organization?.login || payload.repository.owner.login,
})
);

const repositoryConfiguration = parseYaml(
const repoConfig = parseYaml(
Copy link
Owner

Choose a reason for hiding this comment

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

I prefer that you do not shorten words. The reason why is to reduce cognitive overhead when reading through all of the code.

Copy link
Owner

@0x4007 0x4007 left a comment

Choose a reason for hiding this comment

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

Thank you for your adjustments @whilefoo

@0x4007 0x4007 merged commit 62cb0c6 into 0x4007:feat/contributor-incentives-total-scoring Nov 16, 2023
3 of 5 checks passed
@0x4007
Copy link
Owner

0x4007 commented Nov 16, 2023

@wannacfuture please sync your branch.

}),
{ default: allCommands }
),
disabledCommands: T.Array(T.String(), { default: allCommands }),
Copy link
Owner

Choose a reason for hiding this comment

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

Perhaps it makes sense to enable all commands by default? It seems that disabling by default has always caused more headaches when starting new repos for us? rfc @whilefoo

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