feat: Add generated schema folder to gitignore (#5943) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |