mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 09:01:20 -08:00
36 lines
928 B
YAML
36 lines
928 B
YAML
# This workflow will rebase `pontoon` with `main` changes, it's for making the
|
|
# Pontoon bot not try making commits to main
|
|
|
|
name: Rebase pontoon branch to main
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
rebase:
|
|
if: ${{ github.repository == 'SlimeVR/SlimeVR-Server' }}
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: pontoon
|
|
submodules: recursive
|
|
# Get all the git history for rebasing
|
|
fetch-depth: 0
|
|
- uses: imba-tjd/[email protected]
|
|
with:
|
|
upstream: SlimeVR/SlimeVR-Server
|
|
branch: main
|
|
- name: Push rebase
|
|
uses: github-actions-x/[email protected]
|
|
with:
|
|
github-token: ${{ secrets.PONTOON_BOT_KEY }}
|
|
push-branch: "pontoon"
|
|
commit-message: "update"
|
|
force-push: "true"
|
|
name: "slimevr-bot"
|