Skip to content

Conversation

@mlwelles
Copy link
Contributor

Summary

  • Add shellcheck disable comment for SC2312 warning in local-test.sh
  • Skip no-commit-to-branch pre-commit hook in CD workflow using SKIP env var

Context

The no-commit-to-branch pre-commit hook prevents commits to protected branches (main/master). In the CD workflow, this hook fails when checking out release tags that point to main. Using the SKIP environment variable bypasses this specific hook while keeping all other quality checks intact.

Test plan

  • Verify CD workflow runs successfully with a release tag

The no-commit-to-branch pre-commit hook fails when checking out
release tags that point to main. Use SKIP env var to bypass this
specific hook while keeping all other quality checks.
@mlwelles mlwelles requested a review from a team as a code owner January 19, 2026 21:54
@matthewmcneely matthewmcneely enabled auto-merge (rebase) January 19, 2026 21:55
@matthewmcneely matthewmcneely merged commit 78af93c into main Jan 19, 2026
16 of 26 checks passed
@matthewmcneely matthewmcneely deleted the bypass-no-commit-to-branch-in-cd branch January 19, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants