Skip to content

Update latest

Update latest #460

name: Update latest
on:
workflow_dispatch:
schedule:
- cron: "0 2 * * *"
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- run: |
git remote add upstream https://github.com/OpenAtom-Linyaps/linyaps-box
git remote add deepin https://github.com/deepin-community/linyaps-box
git fetch --all --no-tags
git reset --hard upstream/master
git checkout deepin/master debian
git checkout deepin/master rpm
rm -rf .github || true
- uses: stefanzweifel/git-auto-commit-action@v7
with:
branch: obs_latest_deepin
create_branch: true
push_options: --force
commit_message: Automated Change
- run: |
rm -r debian/patches || true
- uses: stefanzweifel/git-auto-commit-action@v7
with:
branch: obs_latest
create_branch: true
push_options: --force
commit_message: Automated Change