Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/rustc_pull.yml
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you just add a comment to the top of the file saying what it is doing.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: rustc-pull

on:
workflow_dispatch:
schedule:
# Run at 04:00 UTC every day
- cron: "0 4 * * *"

jobs:
pull:
if: github.repository == 'rust-lang/project-stable-mir'
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
with:
github-app-id: ${{ vars.APP_CLIENT_ID }}
pr-base-branch: main
branch-name: rustc-pull
secrets:
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}
3 changes: 3 additions & 0 deletions josh-sync.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
org = "rust-lang"
repo = "project-stable-mir"
filter = ":/compiler/rustc_public:prefix=rustc_public"
1 change: 1 addition & 0 deletions rust-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bec747418c9955de4c3fd0aac4acb99206f00aa2