feat: add ENABLE_REPORT_ISSUES env var to control issue creation#31
Merged
feat: add ENABLE_REPORT_ISSUES env var to control issue creation#31
Conversation
Add a new ENABLE_REPORT_ISSUES environment variable (default: true) that controls whether conflict report issues are created/updated in target repositories. This allows users to get PR comments and step summaries without the report issues. Closes #28 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jmeridth
approved these changes
Mar 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #28
Changes
ENABLE_REPORT_ISSUESenv var toenv.py(default:truefor backward compatibility)pr_conflict_detector.pywith the new flagUsage
Testing
make lint- all 5 linters pass (flake8, isort, pylint 10.00/10, mypy, black)make test- 206 tests pass, 99.17% coverage (well above 80% threshold)ENABLE_REPORT_ISSUES=false- script ran againstgithub/new-user-experiencewithDRY_RUN=true. Output confirmed: "Report issue creation disabled (ENABLE_REPORT_ISSUES=false)" and no issue creation was attempted.ENABLE_REPORT_ISSUES=true(default) - script ran successfully and proceeded to issue creation path, correctly stopped by dry run: "DRY RUN: Skipping issue creation". Confirms default behavior is preserved.