Merge Upstream Code #200
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: Merge Upstream Code | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
env: | |
GHCR_REGISTRY: ghcr.io | |
jobs: | |
build-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout Internal Overleaf Action" | |
uses: actions/checkout@main | |
with: | |
repository: ayaka-notes/overleaf-internal | |
ref: main | |
token: ${{secrets.ORGTOKEN}} | |
- name: "Merge Upstream Code" | |
run: | | |
git remote add upstream https://github.com/overleaf/overleaf.git | |
git fetch upstream | |
git merge upstream/main | |
git push | |