Skip to content

fixup! build(deps): upgrade & migrate to detox 20 #30

fixup! build(deps): upgrade & migrate to detox 20

fixup! build(deps): upgrade & migrate to detox 20 #30

name: Mirror repository to mattrassurance org
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
MirrorRepoToMATTRAssurance:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: mirror repo
run: |
rm -r .git
rm -r .github
git init --initial-branch=${{ github.ref_name }}
git config --local user.name ${{ secrets.MATTRASSURANCE_GIT_USER_NAME }}
git config --local user.email ${{ secrets.MATTRASSURANCE_GIT_USER_EMAIL }}
git add .
git commit -m "Backing up ${{ github.repository }} to mattrassurance org"
git remote add origin https://${{ secrets.MATTRASSURANCE_GIT_USER_NAME }}:${{ secrets.MATTRASSURANCE_GIT_USER_PAT }}@github.com/mattrassurance/pairing_crypto.git
git push origin ${{ github.ref_name }} --force