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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: githubEvent is not a function #73

Closed
Gr8z opened this issue Sep 15, 2020 · 7 comments · Fixed by #74
Closed

TypeError: githubEvent is not a function #73

Gr8z opened this issue Sep 15, 2020 · 7 comments · Fixed by #74

Comments

@Gr8z
Copy link

Gr8z commented Sep 15, 2020

Just started getting this a few hours ago, no config changes were done.

(node:1) UnhandledPromiseRejectionWarning: TypeError: githubEvent is not a function
    at main (/usr/local/src/image-actions/entrypoint.js:26:25)
    at Object.<anonymous> (/usr/local/src/image-actions/entrypoint.js:40:1)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47
@benschwarz
Copy link
Member

Thanks for reporting @Gr8z. Fix incoming…

@benschwarz
Copy link
Member

@Gr8z I've landed a fix. Can you verify it's working again?

@Gr8z
Copy link
Author

Gr8z commented Sep 15, 2020

Just tested again, I am getting the same error @benschwarz

@benschwarz
Copy link
Member

I've confirmed it's working on an internal PR. Could you try closing/re-opening your PR, or creating a new one and sharing the log output?
image

@Gr8z
Copy link
Author

Gr8z commented Sep 15, 2020

@benschwarz the checks pass even though there is an error in one of those steps. If you expand "Compress Images", you will see the error.

@Gr8z
Copy link
Author

Gr8z commented Sep 15, 2020

Oh looks like the problem is gone when I opened a new PR. Thanks for the fast fix.

@benschwarz
Copy link
Member

benschwarz commented Sep 15, 2020

No prob! Sorry I released a broken entry point 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants