diff --git a/.github/workflows/pull-upstream.yml b/.github/workflows/pull-upstream.yml index f33ed5aa9b6..8247861546a 100644 --- a/.github/workflows/pull-upstream.yml +++ b/.github/workflows/pull-upstream.yml @@ -19,10 +19,12 @@ jobs: run: | export DATE_STR=`date +"%Y%m%d%I%M%S"` echo "DATE_STR=$DATE_STR" >> $GITHUB_ENV + - name: Setup git 🪛 run: | git config --global user.name github-actions git config --global user.email github-actions@github.com + - name: Setup git-cinnabar 🪛 run: | cd ~ @@ -32,6 +34,7 @@ jobs: export PATH=~/git-cinnabar:$PATH cd ~ git cinnabar download + - name: Clone mozilla-unified 🧬 run: | export PATH=~/git-cinnabar:$PATH @@ -39,15 +42,18 @@ jobs: cd mozilla-unified git rev-list --count origin/bookmarks/esr115 git checkout -b upstream-esr115-${DATE_STR} origin/bookmarks/esr115 + - name: Fetch Midori 📥 run: | cd mozilla-unified git remote add midori-desktop https://${GITHUB_ACTOR}:${{ github.token }}@github.com/${{ github.repository }} git fetch midori-desktop + - name: Push 🎁 run: | cd mozilla-unified git push midori-desktop upstream-esr115-${DATE_STR} + - name: Create Pull Request run: | cd mozilla-unified