Skip to content

feat: add fork-check workflow - #30

Merged
k-rister merged 1 commit into
masterfrom
add-fork-check
Aug 5, 2026
Merged

feat: add fork-check workflow#30
k-rister merged 1 commit into
masterfrom
add-fork-check

Conversation

@k-rister

@k-rister k-rister commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/workflows/fork-check.yaml, blocking and auto-closing PRs opened from forks

crucible-ci.yaml passes organizational secrets (CRUCIBLE_CI_ENGINES_REGISTRY_AUTH, CRUCIBLE_QUAYIO_OAUTH_TOKEN) to a reusable workflow triggered on pull_request. This repo was missing the fork-check guard that every other secret-consuming repo in the org has.

Found during an org-wide audit of standard repo files/protections.

🤖 Generated with Claude Code

crucible-ci.yaml passes org secrets (CRUCIBLE_CI_ENGINES_REGISTRY_AUTH,
CRUCIBLE_QUAYIO_OAUTH_TOKEN) to a reusable workflow triggered on
pull_request, which forked PRs could otherwise reach. Adds the
standard fork-check guard used across the rest of the org to block
and close PRs opened from forks.
@k-rister k-rister self-assigned this Aug 5, 2026
@k-rister
k-rister requested a review from a team August 5, 2026 18:59
@project-crucible-tracking project-crucible-tracking Bot moved this to In Progress in Crucible Tracking Aug 5, 2026

@atheurer atheurer left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed crucible-ci.yaml triggers on pull_request and passes org secrets (CRUCIBLE_CI_ENGINES_REGISTRY_AUTH, CRUCIBLE_QUAYIO_OAUTH_TOKEN) to a reusable workflow — this repo was indeed missing the fork-check guard. The added workflow is byte-identical to the standard fork-check.yaml used in tool-power/tool-sysstat. LGTM, good security fix.

@k-rister
k-rister merged commit c117888 into master Aug 5, 2026
205 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Crucible Tracking Aug 5, 2026
@k-rister
k-rister deleted the add-fork-check branch August 5, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants