Add workflow for re-enabling workflows after 60 day inactivity#738
Conversation
9b87f2d to
7dd3644
Compare
Boomatang
left a comment
There was a problem hiding this comment.
The is one thing that I feel needs to be address, that is the silent failures.
The others are question.
Side not I don't like the idea of writing bash scripts with in yaml files. We lose the advantages IDEs, and syntax highlighting.
averevki
left a comment
There was a problem hiding this comment.
I don't think testsuite has any scheduled workflows at all. Will it just be running by itself 2 times a week?
Yeah bit of a chicken and egg situation here, so I suppose we can remove the tessuite from the list of repos. And yes it will be running by itself 2 times a week. I think we can move it to run once a week after 60 days. |
We can have it just running, maybe increase interval a bit so it is not that often. If every repo will contain this action, it won't be a problem to just copy it here in the future, when any scheduled action appears or activity in the repo slows down 🤷♂️. Maybe I'm missing the point of adding this to every repo without a thought |
Because this runs on a schedule, if we add it to a repository that hits the 60-day inactivity mark, this workflow itself will also be disabled. The idea is to have this in one active repository so that it ensures workflows in all other repositories are always running. |
I think once a week would be alright for the time being. |
Signed-off-by: Patryk Stefanski <pstefans@redhat.com>
7dd3644 to
f879ca4
Compare
Boomatang
left a comment
There was a problem hiding this comment.
One last change, to add a bit more logging, then we will be good to merge this.
…ries with scheduled workflows Signed-off-by: Patryk Stefanski <pstefans@redhat.com>
252c785 to
72c63bf
Compare
closes #737
Adds a workflow that will run twice a week to check if any workflows are disabled due to inactivity and will automatically re-enable those workflows.
This pr is checking for
DISABLED_MANUALLYso that the workflow can be tested. A follow-up pr will change this todisabled_inactivity, which is the state the workflow is in when disabled due to inactivity.