Skip to content

Conversation

@kaitozaw
Copy link
Collaborator

Pull Request

Category

GitHub Workflow

Feature/Issue Description

Q: Please give a brief summary of your feature/fix
A: Changed the stale issue duration from 14 days to 4 months (120 days) to give issues more time before being marked as stale.

Q: Give a technical rundown of what you have changed (if applicable)
A:

  • Updated days-before-stale from 14 to 120 days
  • Updated days-before-close from 11 to 7 days to match the stale message
  • Fixed typo in stale-issue-message: "This issue as been" → "This issue has been"

@kaitozaw kaitozaw temporarily deployed to Integrate Pull Request January 27, 2026 00:17 — with GitHub Actions Inactive
@kaitozaw kaitozaw linked an issue Jan 27, 2026 that may be closed by this pull request
@zinduolis zinduolis self-requested a review January 27, 2026 04:58
@zinduolis
Copy link
Contributor

PR Review: #3507 - Change Stale Timing

Status: Changes Requested (Migration Recommended)

Review Summary

The proposed changes to timing (120 days stale, 7 days close) in stale.yml are good. However, this workflow is currently using actions/stale@v5, which relies on deprecated Node.js 12/16 runtimes. This will cause warnings and eventually fail.

⚠️ Critical Issue: Deprecated Version

The current version v5 is obsolete. We should take this opportunity to migrate to v10 (latest), which uses supported Node version.

Migration Checklist (v5 → v10)

To migrate stale.yml to v10, please make the following updates:

  1. Update Version Tag:

    • Change actions/stale@v5 to actions/stale@v10.
    • Security Recommendation: Pin to a full commit SHA instead of a tag to prevent supply-chain attacks.
      ```yaml
      uses: actions/stale@28ca103 # v10.0.0
      ```
  2. Rename Parameter:

    • `exempt-milestones` is deprecated in v10 for the "all" behavior.
    • Change `exempt-milestones: true` to `exempt-all-milestones: true`.
  3. Update Date Format:

    • v10 is stricter with date formats (ISO 8601 required).
    • Change `start-date: '2022-06-15'` to `start-date: '2022-06-15T00:00:00Z'`.

@kaitozaw kaitozaw force-pushed the issue/3506-change-issue-duration branch from 98379a8 to 086b0b1 Compare January 29, 2026 04:51
@kaitozaw kaitozaw temporarily deployed to Integrate Pull Request January 29, 2026 04:51 — with GitHub Actions Inactive
@zinduolis
Copy link
Contributor

Test Configuration

The stale.yml workflow was modified for local validation with the following changes:

  • Trigger: Added workflow_dispatch to allow manual execution.
  • Safety: Enabled debug-only: true to prevent actual changes (closing/labelling) to live issues/PRs.

Execution

The test was run locally using act to simulate the GitHub Actions environment:
act workflow_dispatch -W .github/workflows/stale.yml --secret GITHUB_TOKEN=$(gh auth token)

Results

  • Status: ✅ PASSED
  • Validation:

@kaitozaw kaitozaw temporarily deployed to Integrate Pull Request January 29, 2026 23:16 — with GitHub Actions Inactive
@kaitozaw kaitozaw merged commit 399ab90 into beefproject:master Jan 29, 2026
5 checks passed
@kaitozaw kaitozaw deleted the issue/3506-change-issue-duration branch January 29, 2026 23:22
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.

Change issue duration

2 participants