This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
Sync Fork #71
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 Fork | |
on: | |
schedule: | |
- cron: '0 8 * * *' | |
push: | |
paths: | |
- '.github/workflows/sync.yml' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
git config --global user.name mise-en-dev | |
git config --global user.email [email protected] | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
repository: jdx/mise | |
path: mise | |
- run: | | |
cd mise | |
# git subtree push --prefix registry https://github.com/mise-plugins/registry main | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
path: registry | |
- run: | | |
cd registry | |
git pull --ff-only https://github.com/asdf-vm/asdf-plugins master | |
git push origin main |