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

Respect .github/pinact.yaml as the default config #393

Closed
kachick opened this issue Apr 30, 2024 · 0 comments · Fixed by #394
Closed

Respect .github/pinact.yaml as the default config #393

kachick opened this issue Apr 30, 2024 · 0 comments · Fixed by #394
Labels
enhancement New feature or request
Milestone

Comments

@kachick
Copy link
Contributor

kachick commented Apr 30, 2024

Feature Overview

Respect .github/pinact.yaml as the default config.

Why is the feature needed?

Please explain the problem you want to solve.

  • Reduce dotfiles from the repository root.
  • Place files under the directory that is used by the context.

I put the config under .github, that is clear for GitHub-specific files.
Currently, pinact needs to specify the config path to read, but this path pattern is a very standard use case like renovate.json did.

In .github, the dot prefix is needless. So I perfectly agree with this example path - .github/pinact.yaml.

Example Code

command and configuration

$ pinact init '.github/pinact.yaml'
$ pinact run
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 a pull request may close this issue.

2 participants