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

Configurable config file location #10

Merged
merged 2 commits into from
Mar 7, 2023
Merged

Configurable config file location #10

merged 2 commits into from
Mar 7, 2023

Conversation

Jym77
Copy link
Collaborator

@Jym77 Jym77 commented Mar 6, 2023

Makes the config file location configurable.
Defaults to ./config/pr-commands.json because it seems that ./config is a semi-standard location in the JS ecosystem… This is effectively breaking previous actions, I guess not much already use the check-run action. When migrating from the advanced action, config file location needs to be changed or provided.
(note that this allows several check-run or advanced actions to run in the same repo with different prefix and config file, to perform different steps between the check and the run)

@Jym77 Jym77 self-assigned this Mar 6, 2023
@Jym77 Jym77 marked this pull request as ready for review March 6, 2023 13:50
Copy link
Contributor

@theisgroenbech theisgroenbech left a comment

Choose a reason for hiding this comment

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

Looks good 🥳

I have not really seen a .config folder as a standard in JS (it is at least not a folder in any of the projects I have worked on or seen online), but I am fine with defaulting to it anyway.

@Jym77 Jym77 merged commit e91487c into main Mar 7, 2023
@Jym77 Jym77 deleted the configurable-config branch March 7, 2023 09:07
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.

2 participants