Skip to content

Commit

Permalink
Merge pull request #37 from SolaceLabs/fix_sync
Browse files Browse the repository at this point in the history
* Fix env variable name for sync
  • Loading branch information
artyom-morozov authored and cyrus2281 committed Dec 2, 2024
2 parents 6e1e3fc + 94eacf6 commit 35d4498
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ jobs:
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 $BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
BRANCH_NAME: ${{ github.ref_name }}
- run: gh repo sync SolaceDev/solace-ai-connector --source SolaceLabs/solace-ai-connector --branch ${{github.ref_name}}

0 comments on commit 35d4498

Please sign in to comment.