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

Status Fixed / completed
Reported on v2.1.44
Maintainer reply None cached
Activity 4 comments · opened Mar 8, 2026 · 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 ↗

4 Comments

marcindulak · 7 months ago

This is incorrectly marked as invalid. It describes the incorrect behaviot of the "lock-closed-issues" workflow.

marcindulak · 7 months ago

After looking more carefully, I see the issue https://github.com/anthropics/claude-code/issues/21733#issuecomment-4019140063 was closed, so the bot was right to lock it.

fsc-eriker · 7 months ago
github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.