fix: skip bump-version and update-tokens on forks

These workflows use APP_ID/APP_PRIVATE_KEY secrets that only exist on
the upstream repo. Without a fork guard they fail on every push for
every fork. merge-forward-skills already has the correct guard.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Shawn Yeager
2026-03-23 13:41:20 +00:00
parent deee4b2a96
commit d40affbdef
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ on:
jobs: jobs:
bump-version: bump-version:
if: github.repository == 'qwibitai/nanoclaw'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/create-github-app-token@v1 - uses: actions/create-github-app-token@v1

View File

@@ -8,6 +8,7 @@ on:
jobs: jobs:
update-tokens: update-tokens:
if: github.repository == 'qwibitai/nanoclaw'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/create-github-app-token@v1 - uses: actions/create-github-app-token@v1