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

chore: Add flag for SilenceVCSStatusNoProjects #4179

Merged

Conversation

lukemassa
Copy link
Contributor

@lukemassa lukemassa commented Jan 27, 2024

what

Add a flag and documentation for --silence-vcs-status-no-projects.

why

The option was added to server/user_config.go but flag was never added to cmd/server.go.

Note: there is some debate about whether this is a useful additional option given --silence-vcs-status-no-plans and --silence-no-projects, which we may address at a later date. The goal of this PR is simply to unify the flags and yaml definitions for consistency.

tests

Ran unit tests

references

Closes: #4068
Initially discussed in: #1469 (comment)

@lukemassa lukemassa marked this pull request as ready for review January 27, 2024 20:45
@lukemassa lukemassa requested review from a team as code owners January 27, 2024 20:45
@lukemassa lukemassa requested review from jamengual, nitrocode and X-Guardian and removed request for a team January 27, 2024 20:45
@github-actions github-actions bot added docs Documentation go Pull requests that update Go code labels Jan 27, 2024
@lukemassa lukemassa force-pushed the add_flag_silence_vcs_status_no_project branch from 84d7669 to 8b6e241 Compare January 28, 2024 16:50
@lukemassa lukemassa enabled auto-merge (squash) January 28, 2024 16:52
@lukemassa lukemassa merged commit 25d800e into runatlantis:main Jan 28, 2024
24 checks passed
@lukemassa lukemassa deleted the add_flag_silence_vcs_status_no_project branch January 28, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SilenceVCSStatusNoProjects does not have an associated flag
2 participants