Skip to content

Block pushes while PRs are unhandled, actions/checkout v7, remove orphaned scripts - #22

Merged
jurczykpawel merged 3 commits into
mainfrom
chore/pre-push-open-prs
Nov 25, 2026
Merged

jurczykpawel merged 3 commits into
mainfrom
chore/pre-push-open-prs

Conversation

@jurczykpawel

Copy link
Copy Markdown
Owner

Summary

  • pre-push hook (.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 install now installs both hooks.
  • CI: the unit workflow also runs on workflow and hook changes, so Actions updates get real CI on their pull requests (chore(deps): bump actions/checkout from 4.4.0 to 7.0.1 in the actions group across 1 directory #2 never ran CI because of the path filter). Checkout no longer persists the token.
  • actions/checkout 4.4.0 → 7.0.1 (supersedes chore(deps): bump actions/checkout from 4.4.0 to 7.0.1 in the actions group across 1 directory #2): pinned SHA 3d3c42e verified as tag v7.0.1. Relevant upstream changes: Node 24 runtime, credentials in a separate file, fork checkout blocked for pull_request_target/workflow_run (not used here).
  • Removed scripts and docs nothing links to: Sellf benchmark/load-test/monitor scripts and their MONITORING.md, a one-off Supabase API probe, a private two-instance Sellf deploy script (contrib/mikrus).

Test plan

Supersedes #2.

🤖 Generated with Claude Code

jurczykpawel and others added 3 commits November 25, 2026 22:37
…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>
@jurczykpawel
jurczykpawel merged commit afe43d3 into main Nov 25, 2026
1 check passed
@jurczykpawel
jurczykpawel deleted the chore/pre-push-open-prs branch November 25, 2026 21:53
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