Skip to content

fix(ci): skip no-commit-to-branch hook in CI#2

Merged
robotlearning123 merged 1 commit intomainfrom
fix/ci-precommit-branch-hook
Mar 25, 2026
Merged

fix(ci): skip no-commit-to-branch hook in CI#2
robotlearning123 merged 1 commit intomainfrom
fix/ci-precommit-branch-hook

Conversation

@robotlearning123
Copy link
Copy Markdown
Member

Summary

  • no-commit-to-branch pre-commit hook blocks CI on main (it's meant for local dev only)
  • Fix: SKIP: no-commit-to-branch env var in the pre-commit action step

🤖 Generated with Claude Code

The pre-commit hook 'no-commit-to-branch' prevents local commits to main,
but fails in CI which runs on main after merge. SKIP env var excludes it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@robotlearning123 robotlearning123 merged commit 0007d91 into main Mar 25, 2026
4 checks passed
@robotlearning123 robotlearning123 deleted the fix/ci-precommit-branch-hook branch March 25, 2026 03:07
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