Skip to content

ci: skip the Update PNPM workflow on forks - #218

Merged
Jason3S merged 1 commit into
mainfrom
claude/update-pnpm-fork-guard
Nov 10, 2026
Merged

Jason3S merged 1 commit into
mainfrom
claude/update-pnpm-fork-guard

Conversation

@Jason3S

@Jason3S Jason3S commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Adds the owner guard to the Update PNPM job:

if: github.repository_owner == 'streetsidesoftware'

Why

The job calls the shared workflow in streetsidesoftware/actions. Without the guard, a fork with scheduled workflows enabled starts a run on every schedule and makes that call from the fork's account. The guard inside the shared workflow only stops the job's steps; it does not stop the run or the call.

With the guard on this job, a fork skips the job before the shared workflow is loaded. This is the same guard the other bot workflows carry. It was left out by mistake when this workflow was added.

Verification

  • Nothing changes for this repo: the condition is true here, so the job runs as before.
  • Not tested on a fork.

@Jason3S
Jason3S merged commit 6c02c1e into main Nov 10, 2026
6 checks passed
@Jason3S
Jason3S deleted the claude/update-pnpm-fork-guard branch November 10, 2026 17:29
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.

1 participant