Skip to content

Rebase macOS branch #1959

Rebase macOS branch

Rebase macOS branch #1959

Workflow file for this run

name: Rebase macOS branch
on:
schedule:
- cron: "47 * * * *"
workflow_dispatch:
jobs:
rebase:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Configure github-actions bot
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Rebase release/trunk
run: |
git checkout release/macos
git submodule update --init --recursive
git submodule foreach '
git fetch --all
main=$(git remote show origin | awk "/HEAD branch/ {print \$NF}")
git checkout $main
git pull
'
git reset --hard origin/feature/macos/trunk
git merge --no-edit origin/feature/performance/trunk
git submodule add https://github.com/TritonDataCenter/pkgsrc-extra.git extra
git add .gitmodules
git commit -m "Add submodules."
git push --force origin release/macos