Skip to content

Conversation

PastaPastaPasta
Copy link
Owner

This PR modifies the workflow name differently to test conflict detection with PR 1

PastaPastaPasta and others added 4 commits July 15, 2025 16:31
- Modified handle_potential_conflicts.py to output structured data via GitHub Actions outputs
- Added PR comment functionality to predict-conflicts.yml workflow
- Comments are updateable (sticky) using message-id to prevent duplicates
- Shows list of conflicting PRs with links when conflicts are detected
- Removes comment when no conflicts exist
- Improved error handling and validation in Python script

Co-Authored-By: Claude <[email protected]>
- Changed get_pr_json to return None on API errors instead of exiting
- Added proper None checks before accessing PR data
- Skip PRs that fail to fetch instead of crashing the entire workflow
- This fixes the KeyError when PR API responses don't have expected fields
- Use GITHUB_REPOSITORY environment variable for API calls
- Defaults to dashpay/dash if not set
- Fixes testing on forked repositories like PastaPastaPasta/dash
Copy link

github-actions bot commented Jul 15, 2025

⚠️ Potential Merge Conflicts Detected

This PR has potential conflicts with the following open PRs:

Please coordinate with the authors of these PRs to avoid merge conflicts.

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

Successfully merging this pull request may close these issues.

1 participant