Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Jayant-Deshmukh <[email protected]>
  • Loading branch information
Jayant-Deshmukh committed Jan 4, 2025
1 parent 319940c commit aa97584
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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 lineage https://github.com/LineageOS/android_vendor_lineage.git
git fetch lineage
git checkout fifteen-los
git rebase lineage/lineage-22.1
- name: Push rebased changes to origin
run: |
git push origin HEAD:fifteen-los --force-with-lease

0 comments on commit aa97584

Please sign in to comment.