Skip to content

Update sync workflow to open PRs for passing exercises - #3193

Open
jagdish-15 wants to merge 5 commits into
exercism:mainfrom
jagdish-15:generator-workflow
Open

jagdish-15 wants to merge 5 commits into
exercism:mainfrom
jagdish-15:generator-workflow

Conversation

@jagdish-15

@jagdish-15 jagdish-15 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Pull Request

.github/workflows/create-configlet-sync-issues.yml currently creates issues for individual exercises whose tests are out of sync.
Now that the test generator is ready, we can have it automatically open a PR for exercises where the regenerated tests pass checks as-is (without needing reference solution or template changes).
For exercises that fail verification, it creates an issue as usual.
Since issues are now a fallback rather than the primary job, I also renamed the workflow to .github/workflows/sync-tests.yml (Sync Tests).

Here's how the workflow works:

Creates a PR when tests pass:
image

Creates an issue when tests fail:
image


Reviewer Resources:

Track Policies

@@ -109,7 +109,7 @@ public Integer call() {
return 1;
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also small changes in this one, removed the emojis

@jagdish-15
jagdish-15 requested a review from kahgoh December 3, 2026 13:32
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.

2 participants