Skip to content

Commit f44ca79

Browse files
mairasclaude
andcommitted
ci: skip Docker build workflow in forks
The Docker build workflow requires GHCR_PAT and DOCKERHUB_TOKEN secrets which are only available in the upstream SignalK/signalk-server repository. Adding a condition to skip this workflow in forks prevents CI failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 0c65bd0 commit f44ca79

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/build-docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212

1313
jobs:
1414
signalk-server_npm_files:
15+
# Only run in the upstream repository (not in forks)
16+
if: github.repository == 'SignalK/signalk-server'
1517
runs-on: ubuntu-latest
1618
steps:
1719
- name: Checkout

0 commit comments

Comments
 (0)