blob: fa967b3ee5bb1dbdda9d62a85d800008595ea643 [file]
name: rustc-pull
on:
workflow_dispatch:
schedule:
# Run at 04:00 UTC every Monday
- cron: '0 4 * * 1'
permissions: {}
jobs:
pull:
if: github.repository == 'rust-lang/rustc-dev-guide'
permissions:
contents: write # Required by `josh-sync/rustc-pull` to push to a branch
pull-requests: write # Required by `josh-sync/rustc-pull` to open a PR
# zizmor: ignore[unpinned-uses] We explicitly want to track the main branch.
uses: rust-lang/josh-sync/.github/workflows/rustc-pull.yml@main
with:
github-app-id: ${{ vars.APP_CLIENT_ID }}
pr-author: "workflows-rustc-dev-guide[bot]"
zulip-stream-id: 196385
zulip-bot-email: "rustc-dev-guide-gha-notif-bot@rust-lang.zulipchat.com"
pr-base-branch: main
branch-name: rustc-pull
secrets:
zulip-api-token: ${{ secrets.ZULIP_API_TOKEN }}
github-app-secret: ${{ secrets.APP_PRIVATE_KEY }}