[CHORE]: DRY hardcoded values in workflow configs #3978

Closed
opened 2026-02-16 17:42:09 -05:00 by yindo · 1 comment
Owner

Originally created by @anntnzrb on GitHub (Dec 29, 2025).

Originally assigned to: @rekram1-node on GitHub.

Some workflow files have hardcoded numeric values that are duplicated in messages, creating sync issues if values change.

Affected workflows:

  • stale-issues.yml: 90 and 7 days duplicated in config and messages
  • docs-update.yml: 4 hours lookback duplicated in 3 places

Proposed fix: Extract to env variables at workflow level for single source of truth.

Originally created by @anntnzrb on GitHub (Dec 29, 2025). Originally assigned to: @rekram1-node on GitHub. Some workflow files have hardcoded numeric values that are duplicated in messages, creating sync issues if values change. **Affected workflows:** - `stale-issues.yml`: `90` and `7` days duplicated in config and messages - `docs-update.yml`: `4 hours` lookback duplicated in 3 places **Proposed fix:** Extract to `env` variables at workflow level for single source of truth.
yindo added the docs label 2026-02-16 17:42:09 -05:00
yindo closed this issue 2026-02-16 17:42:09 -05:00
Author
Owner

@anntnzrb commented on GitHub (Dec 29, 2025):

PR: #6395

@anntnzrb commented on GitHub (Dec 29, 2025): PR: #6395
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3978