Skip to content

rebase upstream cron #84

rebase upstream cron

rebase upstream cron #84

name: rebase upstream cron
on:
schedule:
# At minute 8am pst.
- cron: '0 15 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Rebase
run: |
git config --local user.email "github-actions@users.noreply.github.com"
git config --local user.name "github-actions"
git remote add upstream http://github.com/bazelbuild/bazel.git
git fetch upstream
git rebase upstream/master
- name: Push changes
uses: ad-m/github-push-action@master
with:
force_with_lease: true
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}