fix: update sync condition to check repo name, not owner

This commit is contained in:
gavrielc
2026-03-10 22:00:36 +02:00
parent 5a0bda8d37
commit 107f9742a9

View File

@@ -18,7 +18,7 @@ permissions:
jobs: jobs:
sync-and-merge: sync-and-merge:
if: github.repository_owner != 'qwibitai' if: github.repository != 'qwibitai/nanoclaw'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -166,7 +166,8 @@ jobs:
'npm run build && npm test', 'npm run build && npm test',
'git push', 'git push',
'```', '```',
].join('\n'), ].join('
'),
labels: ['upstream-sync'] labels: ['upstream-sync']
}); });
@@ -190,7 +191,8 @@ jobs:
'' ''
]).flat(), ]).flat(),
'```', '```',
].join('\n'); ].join('
');
await github.rest.issues.create({ await github.rest.issues.create({
owner: context.repo.owner, owner: context.repo.owner,