Files
QieKan-3.0/.github/workflows/autoupdatefork.yml
T
dependabot[bot] ceb6dab808 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 19:20:42 +00:00

27 lines
703 B
YAML

#更新fork
name: update fork
on:
schedule:
- cron: '0 16 * * *' #0点定时任务
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.repository.owner.id == github.event.sender.id && github.actor != 'gedoor' }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set env
run: |
git config --global user.email "github-actions@github.com"
git config --global user.name "github-actions"
- name: Update fork
run: |
git remote add upstream https://github.com/gedoor/legado.git
git remote -v
git fetch upstream
git checkout master
git merge upstream/master
git push origin master