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

Config based approach to commands #60

Merged
merged 17 commits into from
Jul 29, 2022
Merged

Conversation

timja
Copy link
Owner

@timja timja commented Jul 26, 2022

Fixes #54
Fixes #33
Fixes #56

Introduces configuration to allow enabling and disabling of commands
This is the basis that permissions will be added on top of.

app/router.js Outdated Show resolved Hide resolved
app/router.js Outdated Show resolved Hide resolved
@timja
Copy link
Owner Author

timja commented Jul 27, 2022

Config based approach seems to be working good, tested at org level and repo level, it doesn't do any merging by default but i've added some in after trying a few different approaches

app/router.js Outdated Show resolved Hide resolved
app/default-config.js Outdated Show resolved Hide resolved
app/commands.js Outdated Show resolved Hide resolved
app/commands.js Outdated Show resolved Hide resolved
app/router.js Outdated Show resolved Hide resolved
app/commands.js Outdated Show resolved Hide resolved
app/default-config.js Outdated Show resolved Hide resolved
@timja timja added the enhancement New feature or request label Jul 29, 2022
Copy link
Contributor

@jetersen jetersen left a comment

Choose a reason for hiding this comment

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

Looking great so far, a few linter errors and we are almost there! 👏

app/commands.js Outdated Show resolved Hide resolved
Co-authored-by: Joseph Petersen <[email protected]>
app/router.js Outdated Show resolved Hide resolved
@timja timja mentioned this pull request Jul 29, 2022
@timja timja marked this pull request as ready for review July 29, 2022 13:39
@timja timja enabled auto-merge (squash) July 29, 2022 13:40
@timja timja merged commit cab2070 into main Jul 29, 2022
@timja timja deleted the config-based-approach-to-commands branch July 29, 2022 13:40
@jetersen
Copy link
Contributor

@timja great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: protected labels Provide an "opt-out" at repository level
2 participants