Skip to content

Commit

Permalink
Merge pull request #35 from SolaceLabs/fix-main
Browse files Browse the repository at this point in the history
Add autosync action (#33)
  • Loading branch information
artyom-morozov authored Aug 25, 2024
2 parents 106c25d + 77398c4 commit 38d2c4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write
if: github.repository == 'SolaceLabs/${{ github.repository.name }}'
if: github.repository == 'SolaceLabs/solace-ai-connector'
steps:
- run: gh repo sync SolaceDev/${{ github.repository.name }} --source SolaceLabs/${{ github.repository.name }} --branch $BRANCH_NAME
- run: gh repo sync SolaceDev/solace-ai-connector --source SolaceLabs/solace-ai-connector --branch $BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
REPOSITORY: ${{ github.repository }}
BRANCH_NAME: ${{ github.ref_name }}

0 comments on commit 38d2c4f

Please sign in to comment.