[BUG] The "Lock-closed-issues" bot locks open, non-stale issues without a prior warning

Resolved 💬 4 comments Opened Mar 8, 2026 by marcindulak Closed Mar 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The https://github.com/anthropics/claude-code/actions/workflows/lock-closed-issues.yml bot locks open, non-stale issues without a prior warning.

What Should Happen?

Open, non-stale issues are not locked.

Error Messages/Logs

Steps to Reproduce

See https://github.com/anthropics/claude-code/actions/runs/22822689178/job/66197871523#step:2:960.

The bot closed an open, non-stale issue https://github.com/anthropics/claude-code/issues/21733#issuecomment-4019140063

<img width="1619" height="827" alt="Image" src="https://github.com/user-attachments/assets/f8deb470-9fa3-4a72-b3e4-d6bae644d338" />

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.44

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗