Skip to content

ci: remove ubuntu_init from rebase workflow; remove snap files (#820) #279

ci: remove ubuntu_init from rebase workflow; remove snap files (#820)

ci: remove ubuntu_init from rebase workflow; remove snap files (#820) #279

name: Rebase ci/bootstrap on main
on:
push:
branches:
- main
jobs:
rebase:
runs-on: ubuntu-22.04
strategy:
matrix:
input: ["reset-tools"]
steps:
- uses: actions/checkout@v4
with:
ref: ci/${{ matrix.input }}
submodules: recursive
- name: Configure repo for launchpad snap builder
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git fetch origin main:main
git reset --hard main
git submodule update --init --recursive
./ci/snap-build-setup.sh ${{ matrix.input }}
git add -A
git commit --amend --no-edit # keep original author but set committer to [email protected]
git push --force-with-lease