diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 216f10d..1146134 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -3,13 +3,14 @@ on: push: branches: - main + - fix_sync jobs: sync: runs-on: ubuntu-latest permissions: contents: write + env: + GH_TOKEN: ${{ secrets.GH_PAT }} if: github.repository == 'SolaceLabs/solace-ai-connector' steps: - run: gh repo sync SolaceDev/solace-ai-connector --source SolaceLabs/solace-ai-connector --branch ${{github.ref_name}} - env: - GH_TOKEN: ${{ secrets.GH_PAT }}