Skip to content

Merge branch 'next-0000/dont-override-cache-id-env-in-tests' into 'tr… #3

Merge branch 'next-0000/dont-override-cache-id-env-in-tests' into 'tr…

Merge branch 'next-0000/dont-override-cache-id-env-in-tests' into 'tr… #3

Workflow file for this run

# @format
name: Sync Repo
on:
push:
branches:
- trunk
- 6.5.x
workflow_call:
jobs:
sync:
runs-on: ubuntu-24.04
if: github.repository == 'shopware/shopware'
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: octo-sts/[email protected]
id: sts-shopware-private
with:
scope: shopware
identity: ShopwarePrivateSync
- name: Push to private fork
run: |
git config --unset http."https://github.com/".extraheader
git config "http.https://github.com/shopware/shopware-private.git/.extraheader" "AUTHORIZATION: basic $(echo -n "x-access-token:${{ steps.sts-shopware-private.outputs.token }}" | base64)"
git remote add private https://github.com/shopware/shopware-private.git
git fetch private
git push -f private ${{ github.ref }}