Stale label remains after pushing a new commit

Open Beginner friendly
#1,378 2 comments 0 reactions 1 assignee View on GitHub

@v-chiranjib-swain is already working on this.

Since Oct 29, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
70/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, typescript
Domain
ci-cd

Research direction

Start by tracing how the action checks a pull request’s updated_at timestamp and applies the remove-stale-when-updated setting; the issue does not name specific files or tests. Reproduce with the listed steps using a normal push, then run the relevant action tests. Done means the stale label is removed on the next run after a new commit updates the PR.

Written by the indexing model from the issue text.

Description

bug

Description:

Pushing a new commit to a stale PR updates its GitHub updated_at timestamp, but the next action run leaves the stale label in place. This conflicts with the documented behaviour of remove-stale-when-updated.

Action version:

11.0.0

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

  1. Enable remove-stale-when-updated: true (the default).
  2. Let the action mark an open PR as stale.
  3. Wait at least a minute, then push a new commit to the PR branch using a normal, non-force push.
  4. Make no other changes: no comments, reviews, or label changes.
  5. Run the action again and ensure it processes the PR.

Expected behavior:

The stale label is removed because the push updated the PR’s updated_at timestamp.

Actual behavior:

The stale label remains.

Dominant language
TypeScript
Stars
1.7k
Forks
438
Avg merge
27d 8h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/stale

All issues in actions/stale

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.