Repo sync #24
This file contains hidden or 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
| # Pull upstream changes from leanprover-community/lean-update daily at 12am UTC | |
| name: Repo sync | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| # The sync authenticates with a GitHub App installation token, so the job needs | |
| # nothing from `secrets.GITHUB_TOKEN`. | |
| permissions: {} | |
| jobs: | |
| repo-sync: | |
| name: Sync upstream changes | |
| uses: argumentcomputer/ci-workflows/.github/workflows/repo-sync.yml@main | |
| with: | |
| repository: leanprover-community/lean-update | |
| # This fork's default branch is `dev`; `main` is kept as a plain mirror | |
| # of upstream, so both sides of the sync share the branch name. | |
| branch: main | |
| secrets: | |
| TOKEN_APP_ID: ${{ secrets.TOKEN_APP_ID }} | |
| TOKEN_APP_PRIVATE_KEY: ${{ secrets.TOKEN_APP_PRIVATE_KEY }} |