Skip to content

Comments

ci: skip HIL tests on fork PRs#226

Merged
zfields merged 2 commits intoblues:masterfrom
m-mcgowan:ci/skip-hil-on-forks
Feb 24, 2026
Merged

ci: skip HIL tests on fork PRs#226
zfields merged 2 commits intoblues:masterfrom
m-mcgowan:ci/skip-hil-on-forks

Conversation

@m-mcgowan
Copy link
Contributor

@m-mcgowan m-mcgowan commented Feb 23, 2026

Summary

  • Skip the notecard-binary-test job on pull requests from forks, where secrets (Tailscale OAuth, Notehub credentials, ngrok auth token) are unavailable

Problem

Fork PRs always fail the HIL test because GitHub does not expose repository secrets to workflows triggered by fork PRs. The job fails immediately at the "Connect to Tailscale" step with OAuth identity empty.

Fix

Add a condition to the notecard-binary-test job:

if: github.event_name \!= 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository

The job still runs for:

  • PRs from branches in the same repo
  • Scheduled (nightly) runs
  • Manual workflow dispatches

Test plan

  • Fork PR no longer shows HIL test failure
  • Same-repo PR still runs HIL tests

The notecard-binary-test job requires secrets (Tailscale OAuth,
Notehub credentials, ngrok auth) that are not available to pull
requests from forks, causing guaranteed failures.

Skip the job on fork PRs while still running it for same-repo PRs,
scheduled runs, and manual workflow dispatches.
@m-mcgowan m-mcgowan force-pushed the ci/skip-hil-on-forks branch from 0da6424 to 7ab1e60 Compare February 23, 2026 17:16
Updated condition to skip notecard-binary-test on fork PRs and nightly builds.
@zfields zfields merged commit d9676b5 into blues:master Feb 24, 2026
12 checks passed
@m-mcgowan m-mcgowan deleted the ci/skip-hil-on-forks branch February 24, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants