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

Override .pr_agent.toml config file path #1569

Open
noahnu opened this issue Feb 24, 2025 · 1 comment
Open

Override .pr_agent.toml config file path #1569

noahnu opened this issue Feb 24, 2025 · 1 comment
Labels

Comments

@noahnu
Copy link

noahnu commented Feb 24, 2025

Feature request

I'd like the ability to provide a different path to a toml file than the default ".pr_agent.toml". e.g.:

uses: qodo-ai/pr-agent
env:
  PR_AGENT_CONFIG_FILE: ${{ github.action_path }}/configs/${{ github.event.repository.name }}.toml

Motivation

We're using a reusable github workflow to run the pr agent. I'd like to store all the per-repository configuration files in a central place (near the workflow file itself).

@noahnu noahnu added the feature 💡 label Feb 24, 2025
@mrT23
Copy link
Collaborator

mrT23 commented Mar 1, 2025

Hi @noahnu
As this is a very specific need, I think its more relevant to your local fork.

In general, config files in pr-agent should be in a fixed known place.
without it, they would be hard to maintain and use.

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

No branches or pull requests

2 participants