fix: update sync condition to check repo name, not owner
This commit is contained in:
8
.github/workflows/fork-sync-skills.yml
vendored
8
.github/workflows/fork-sync-skills.yml
vendored
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user