Skip to content

Commit 63cc37c

Browse files
authored
Merge pull request #1870 from Kobzol/rustc-pull-ci
Add rustc-pull CI automation workflow
2 parents decddf7 + 9de6e2c commit 63cc37c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Perform a subtree sync (pull) using the josh-sync tool once every few days (or on demand).
2+
name: rustc-pull
3+
4+
on:
5+
workflow_dispatch:
6+
schedule:
7+
# Run at 04:00 UTC every Monday and Thursday
8+
- cron: '0 4 * * 1,4'
9+
10+
jobs:
11+
pull:
12+
if: github.repository == 'rust-lang/stdarch'
13+
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
14+
with:
15+
# https://rust-lang.zulipchat.com/#narrow/channel/208962-t-libs.2Fstdarch/topic/Subtree.20sync.20automation/with/528461782
16+
zulip-stream-id: 208962
17+
zulip-bot-email: "[email protected]"
18+
pr-base-branch: master
19+
branch-name: rustc-pull
20+
secrets:
21+
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
22+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)