"Run cancelled" emails
# questions
r
"Run cancelled" emails
Sorry for this not-exactly-OpenHands-specific question, but I'm at a loss for how to get GitHub to quit sending me emails like this:
I've manually gone to cancel the latest run, but new ones keep popping up.
I know I could opt out of emails, but I'm really wondering what I did to cause these to start.
Looks like it happened around when I forked OpenHands?
r
Those come from the github action, you can just remove the action from the .github folder
(on your fork)
r
Hmm, yeah, I could hack it out, but feels weird that I'm making downstream changes that I would never want to upstream.
Do you understand why they're cancelled instead of... just not doing anything?
r
there should be some explanation on the run itself. you can check on the actions tab of your repo.
l
They don't happen when you clone it, but after a workflow file is updated on your repo (either because you changed it, or because you pulled in changes from upstream). You can go in your repo settings and turn actions off.
r
Here's an example that says
The job has exceeded the maximum execution time while awaiting a runner for 24h0m0s
. Isn't it surprising that it ran that long?
r
it was awaiting a runner, meaning you don't have any runners that match their need. so it was just hanging.
basically it never started.
👍 1
r
I see, so the repo assumes there are runners but I don't actually get those made for free, so my fork kept failing to find what it assumed would be there?
I will take @little-architect-38123's advice and just try this:
Thank you both!
👍 3
l
They don't use the runners from GitHub:
runs-on: blacksmith-4vcpu-ubuntu-2204
Don't worry if you still keep receiving notifications over the next couple of days. Disabling actions on the repo only stops new runs, not those already pending.
👍 1