In a future iteration of GitHub Copilot I expect it to check the errors in CI and automatically propose a fix.
I just did this manually: copy pasting the error back, asking for a fix, the fix was correct, I made the commit, push etc…
It could be automated with me still in charge to dismiss or accept.