-
Notifications
You must be signed in to change notification settings - Fork 621
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
Adding Environment Variables for Automated Actions in GitHub #329
Conversation
/describe |
PR Analysis
PR Feedback
How to use
|
/review |
PR Analysis
PR Feedback
How to use
|
Adding Environment Variables for Automated Actions in GitHub
PR Type:
Enhancement
PR Description:
This PR introduces environment variables to control automated actions in GitHub. These variables include 'auto_review', 'auto_describe', and 'auto_improve', which can be set in the GitHub action workflow file. If these variables are set to 'true', the corresponding actions (PR review, PR description, and PR code suggestions) will be automatically executed when a pull request is opened or reopened.
PR Main Files Walkthrough:
files:
pr_agent/servers/github_action_runner.py
: Added checks for the environment variables 'auto_review', 'auto_describe', and 'auto_improve'. If these variables are set to 'true', the corresponding actions (PR review, PR description, and PR code suggestions) are executed.pr_agent/settings/configuration.toml
: Added the environment variables 'auto_review', 'auto_describe', and 'auto_improve' in the GitHub action configuration section. These variables are to be set in the GitHub action workflow file.