Add CI workflow for periodically performing josh pulls

This commit is contained in:
Jakub Beránek 2025-07-22 18:15:54 +02:00
parent a54351effd
commit ca679a2f94
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

20
.github/workflows/rustc-pull.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: rustc-pull
on:
workflow_dispatch:
schedule:
# Run at 04:00 UTC every Monday and Thursday
- cron: '0 4 * * 1,4'
jobs:
pull:
if: github.repository == 'rust-lang/rust-analyzer'
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
with:
zulip-stream-id: 185405
zulip-bot-email: "rust-analyzer-ci-bot@rust-lang.zulipchat.com"
pr-base-branch: master
branch-name: rustc-pull
secrets:
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}