Skip to content

Commit

Permalink
ci: auto-refresh core24, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Saviq committed Apr 15, 2024
1 parent 9643015 commit 3a37e8a
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,37 @@
name: Refresh `mir-libs-build`
name: Refresh downstreams

on:
push:
branches:
- main

jobs:
MirLibs:
Refresh:
runs-on: ubuntu-latest

timeout-minutes: 5

strategy:
fail-fast: false
matrix:
ref:
- mir-libs-build
- core24

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# so that we know what to cherry-pick from
fetch-depth: 2

- name: Update `mir-libs-build`
- name: Update `${{ matrix.ref }}`
env:
GIT_COMMITTER_NAME: "Mir CI Bot"
GIT_COMMITTER_EMAIL: "[email protected]"
run: |
# bring mir-libs changes in
git fetch origin mir-libs-build
git cherry-pick HEAD..origin/mir-libs-build
git fetch origin ${{ matrix.ref }}
git cherry-pick HEAD..origin/${{ matrix.ref }}
git push --force origin HEAD:mir-libs-build
git push --force origin HEAD:${{ matrix.ref }}

0 comments on commit 3a37e8a

Please sign in to comment.