Description
The linked-issue enforcer workflow currently states that pull requests without linked issues are automatically closed after 3 days, but the workflow configuration passes HOURS_BEFORE_CLOSE: "12" to the enforcement script.
As a result, PRs may be closed after 12 hours instead of the documented 72-hour grace period, creating a contributor-facing inconsistency between the workflow policy and runtime behavior.
Expected behavior:
PRs without linked issues should remain open for the documented 3-day grace period before automatic closure.
Steps to reproduce
- Open a PR without linking an issue.
- Inspect .github/workflows/cron-enforcer-pr-linked-issue.yml.
- Observe:
- workflow/header messaging mentions a 3-day grace period,
- runtime configuration sets HOURS_BEFORE_CLOSE: "12".
Additional context
The enforcement script already supports configurable grace periods via the HOURS_BEFORE_CLOSE environment variable, so this appears to be a workflow configuration mismatch rather than a script logic issue.
Hedera network
No response
Version
v0.2.6
Operating system
None
Description
The linked-issue enforcer workflow currently states that pull requests without linked issues are automatically closed after 3 days, but the workflow configuration passes HOURS_BEFORE_CLOSE: "12" to the enforcement script.
As a result, PRs may be closed after 12 hours instead of the documented 72-hour grace period, creating a contributor-facing inconsistency between the workflow policy and runtime behavior.
Expected behavior:
PRs without linked issues should remain open for the documented 3-day grace period before automatic closure.
Steps to reproduce
Additional context
The enforcement script already supports configurable grace periods via the HOURS_BEFORE_CLOSE environment variable, so this appears to be a workflow configuration mismatch rather than a script logic issue.
Hedera network
No response
Version
v0.2.6
Operating system
None