ci: remove ubuntu_init from rebase workflow; remove snap files (#820) #279
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |