Skip to content

Add reusable workflow for performing rustc-pull on CI #9

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

Merged
merged 1 commit into from
Jul 10, 2025

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant