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

Unable to use clasp run in Github actions workflow #962

Open
jaemin-capslock opened this issue May 1, 2023 · 0 comments
Open

Unable to use clasp run in Github actions workflow #962

jaemin-capslock opened this issue May 1, 2023 · 0 comments

Comments

@jaemin-capslock
Copy link

(Note: Non-breaking issues are likely not to be prioritized. Please consider a PR in addition to your issue)

Expected Behavior

I have a function in my code that runs tests of my code. Currently, I want to use GitHub actions to do the following workflow:

Github push -> install clasp in GitHub actions -> clasp login --creds creds.json -> clasp run runTests -> clasp push

According to run.md, it is necessary to run the clasp login step to use clasp run. clasp login returns an OAuth URL to the terminal which the user has to manually click and verify, which is not possible within Github actions. Are there any workarounds or suggestions?

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

Successfully merging a pull request may close this issue.

1 participant