-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Describe the enhancement
When GitHub Actions workflows are disabled due to 60+ days of inactivity, event-based triggers (such as push and pull_request) are suspended. However, scheduled workflows may still run, and there is currently no indication on pull requests that workflows are suspended. This leads to significant confusion for maintainers and contributors, as PR-triggered workflows simply do not appear or run, with no error or warning in the PR UI.
I suggest that you display a clear warning banner or message on the PR page when event-based GitHub Actions workflows are suspended due to inactivity. The warning should inform users that workflows will not be triggered until they are re-enabled by a repository admin. This will help users diagnose workflow issues more quickly and avoid wasted debugging effort.
Additionally, for users who push code directly to branches (without using PRs), a similar warning in the branch or commit status/checks views would be helpful, as there is no dedicated "push UI". This would ensure that users are not confused when workflows do not run after a direct push due to inactivity-based suspension.
Additional information
- Currently, only the Actions tab shows a banner about workflows being suspended, but this is easy to miss if users interact mainly with PRs or branch commits.
- Scheduled workflows may still run, further confusing users.
- Clearer warnings in relevant UI locations would help users understand and remedy the situation faster.
Thank you for considering this improvement!
(drafted by copilot based on an interactive debugging session with @shankari, reviewed before submission)