Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Unable to find workflow 'Graphs CI' in pavelloz/instances-uptime 馃槬 #62

Closed
pavelloz opened this issue Nov 19, 2020 · 7 comments
Assignees
Labels
question Further information is requested

Comments

@pavelloz
Copy link

pavelloz commented Nov 19, 2020

Well, this is weird :)

I just created another instance to monitor another set of pages and for some reason this is what I get on Setup CI workflow:

Error: Unable to find workflow 'Graphs CI' in pavelloz/instances-uptime 馃槬

https://github.com/pavelloz/instances-uptime/runs/1421583962?check_suite_focus=true#step:6:6

Im pretty sure i have Graphs CI workflow as I did not touch it
image

I did one mistake but i dont know if it can have any impact: I have run workflow first time before I created GH_PAT, so maybe state somewhere was saved and now order of workflows is not correct.

Anyway - Just like a previous time i will just start from scratch (and it will work!), but i think there is some fragile part of those workflows (my guess is: their communication with each other) that breaks them if something is run in the not optimal order (like missing secret, or missing directories, which i had to create by hand :) )

Those directories are suspicious - Everytime i cleaned them up (leaving empty directory for git means they are not commited), something went wrong. I had to create them by hand, add .keep to commit them. Maybe script should detect if there is dir and then try to save to file, instead of throwing error that history/xx.yml is not present etc.

@pavelloz
Copy link
Author

Quick update: My prediction was right - i did everything slower, with more pushes along the way, and everything works. It looks like scripts just dont like when you change too much at once ;)

@AnandChowdhary
Copy link
Member

Yes, I agree! I pushed an update last night that ensures that the three required directories, history, api, graphs` exist before starting the workflows.

@AnandChowdhary
Copy link
Member

This is super weird, if the workflows are in the right folder (which they are), GitHub should add them as actions. Maybe you can create an empty .yml file in the .github/workflows folder to see if GitHub will reindex your workflows?

@AnandChowdhary AnandChowdhary added the question Further information is requested label Nov 19, 2020
@pavelloz
Copy link
Author

Heh, i thought it was something new, but apparently this is same old friend:
image

I guess I will follow Jocko advise closer to avoid doing the same work twice: Slow is smooth, smooth is fast.

@AnandChowdhary AnandChowdhary self-assigned this Nov 22, 2020
@AnandChowdhary
Copy link
Member

I think this is fixed now, because we check whether you've updated your .upptimerc.yml config file before running any workflows. If you haven't, we do nothing, so hopefully this doesn't happen again. Please feel free to reopen this issue in case this doesn't work for you. 馃

@pavelloz
Copy link
Author

Got it :)

@cwdcwd
Copy link

cwdcwd commented Apr 13, 2022

FWIW I had this same issue with the Graph CI workflow and it was because my default branch was not master
I think it may be related to this issue

namcxn pushed a commit to namcxn/uptime-monitor that referenced this issue Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants