Skip to content

Sync with upstream

Sync with upstream #6

Workflow file for this run

name: Sync with upstream
on:
schedule:
- cron: '0 * * * *' # Runs every hour
workflow_dispatch: # Allows manual trigger
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Git
run: |
git config user.name "Jayant-Deshmukh"
git config user.email "[email protected]"
- name: Add upstream remote and rebase
run: |
git remote add superior https://github.com/SuperiorOS/vendor_lineage.git
git fetch superior
git rebase superior/fifteen-los || git status
- name: Push rebased changes to origin
run: |
git push origin HEAD:fifteen-los --force-with-lease