Skip to content

Commit

Permalink
Update pull-upstream.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ponchale authored Mar 2, 2024
1 parent df44a1a commit 723d5be
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
- name: Setup git-cinnabar 🪛
run: |
cd ~
Expand All @@ -32,22 +34,26 @@ jobs:
export PATH=~/git-cinnabar:$PATH
cd ~
git cinnabar download
- name: Clone mozilla-unified 🧬
run: |
export PATH=~/git-cinnabar:$PATH
git clone hg::https://hg.mozilla.org/mozilla-unified
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
Expand Down

0 comments on commit 723d5be

Please sign in to comment.