Skip to content

Conversation

Kobzol
Copy link
Member

@Kobzol Kobzol commented Jul 9, 2025

This PR adds a reusable CI workflow from https://github.com/rust-lang/rustc-dev-guide/blob/master/.github/workflows/rustc-pull.yml and generalizes it so that it can be used on other repositories.

The README.md explains how the workflow works. The TLDR is that it runs rustc-josh-sync pull on the subtree and automatically creates/updates a running PR with the changes.

We should still improve the logic so that we don't create a PR if the diff is empty, but that's orthogonal to this.

@Kobzol
Copy link
Member Author

Kobzol commented Jul 10, 2025

I tried this on my fork, but testing CI is hard. Let's merge and test it on RDG, and we'll see how it goes.

@Kobzol Kobzol merged commit 451d89f into rust-lang:main Jul 10, 2025
1 check passed
@Kobzol Kobzol deleted the ci-pull-workflow branch July 10, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant