From 22e996640da56e4fe01c32cf13a9b096c652df3c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 30 Jan 2026 18:12:29 +0000 Subject: [PATCH] Remove sync workflow for public repo --- .github/workflows/sync-to-public.yml | 36 ---------------------------- 1 file changed, 36 deletions(-) delete mode 100644 .github/workflows/sync-to-public.yml diff --git a/.github/workflows/sync-to-public.yml b/.github/workflows/sync-to-public.yml deleted file mode 100644 index c79cf69..0000000 --- a/.github/workflows/sync-to-public.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Sync to Public Repo - -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - persist-credentials: false - - - name: Sync to public repo - env: - TOKEN: ${{ secrets.PUBLIC_REPO_TOKEN }} - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - # Create branch without sync workflow - git checkout -b temp-sync-branch - git rm .github/workflows/sync-to-public.yml - git commit -m "Remove sync workflow for public repo" - - # Setup credentials and push - git config --global credential.helper store - echo "https://x-access-token:${TOKEN}@github.com" > ~/.git-credentials - - git remote add public https://github.com/wiestju/anny-booking-automation.git - git push public temp-sync-branch:main --force