Sync with upstream #15132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync with upstream | |
on: | |
workflow_dispatch: | |
schedule: | |
# Once an hour | |
- cron: "0 * * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 8.10.5 | |
- name: Sync Repo | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
const script = require('./.github/workflow_scripts/sync-repo.js'); | |
await script({ github, context }); |