Skip to content

Rebase

Rebase #65

Workflow file for this run

name: Rebase
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
strategy:
matrix:
branch: [lineage-21.0]
name: Automatic rebase
runs-on: ubuntu-20.04
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install git
- name: Rebase
run: |
git config --global user.name "${{ secrets.USERNAME }}"
git config --global user.email "${{ secrets.EMAIL }}"
git clone https://"${{ secrets.USERNAME }}":"${{ secrets.TOKEN }}"@github.com/a57y17lte-dev/android_frameworks_base.git -b ${{ matrix.branch }}
cd android_frameworks_base
git fetch https://github.com/LineageOS/android_frameworks_base.git ${{ matrix.branch }}
git rebase FETCH_HEAD
git push -f