Skip to content

Commit 9565dd5

Browse files
committed
add josh-sync configuration and CI
1 parent 3599f8e commit 9565dd5

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/workflows/rustc_pull.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: rustc-pull
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Run at 04:00 UTC every day
7+
- cron: "0 4 * * *"
8+
9+
jobs:
10+
pull:
11+
if: github.repository == 'rust-lang/project-stable-mir'
12+
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
13+
with:
14+
github-app-id: ${{ vars.APP_CLIENT_ID }}
15+
pr-base-branch: main
16+
branch-name: rustc-pull
17+
secrets:
18+
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}

josh-sync.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
org = "rust-lang"
2+
repo = "project-stable-mir"
3+
filter = ":/compiler/rustc_public:prefix=rustc_public"

rust-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bec747418c9955de4c3fd0aac4acb99206f00aa2

0 commit comments

Comments
 (0)