Repository navigation
Block pushes while PRs are unhandled, actions/checkout v7, remove orphaned scripts - #22
Merged
Merged
Conversation
…aned scripts - pre-push hook (pre-commit framework): refuse to push while any open PR other than the one for the pushed branch exists, Dependabot included; only for users with write access, so forks are not blocked by others' PRs - unit workflow also runs for workflow and hook changes, so Actions updates get real CI on their pull requests - remove scripts and docs nothing links to: Sellf benchmark/load-test/monitor scripts with their MONITORING.md, a one-off Supabase API probe, and a private two-instance Sellf deploy script (contrib/mikrus) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bumps the actions group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4.4.0 to 7.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@11d5960...3d3c42e) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.githooks/pre-push-open-prs.sh, via pre-commit): refuses to push while any open PR other than the one for the pushed branch exists, Dependabot included. Applies only to users with write access, so contributors pushing to forks are not blocked. Bypass for emergencies:git push --no-verify.pre-commit installnow installs both hooks.3d3c42everified as tagv7.0.1. Relevant upstream changes: Node 24 runtime, credentials in a separate file, fork checkout blocked forpull_request_target/workflow_run(not used here).MONITORING.md, a one-off Supabase API probe, a private two-instance Sellf deploy script (contrib/mikrus).Test plan
./tests/run.sh: 310 passed, 0 failedtests/unit/test-pre-push-open-prs.sh(RED before the hook, GREEN after): no PRs, other open PR, own PR branch, gh failure, contributor without write accessSupersedes #2.
🤖 Generated with Claude Code