#github-actions (2022-07)
Discussions related to GitHub Actions
2022-07-01
![Andy avatar](https://avatars.slack-edge.com/2020-05-21/1161682414896_20498c74fddfeb29e652_72.jpg)
We have an action that runs some tests in firebase externally on Google Cloud. But the GitHub action is left running while it waits for almost 30mins. Is there any way to run actions in an async way with a call back?
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
is the goal to save minutes or looking to have the workflow “pause/resume”?
![Andy avatar](https://avatars.slack-edge.com/2020-05-21/1161682414896_20498c74fddfeb29e652_72.jpg)
to save minutes
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
GHA workflow invokes Google Cloud Function -> GHA workflow keeps chugging along/ends
Google Cloud Function runs Firebase bits -> Triggers GHA workflow to do the rest of whatever was happen
it’s not unified, but it gets the job done
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
I think the feature request to create a on-demand callback is cool, but I also don’t see a clean way for GH to implement that where the compute you’re using isn’t still burning minutes
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
though maybe you could finagle the manual approval step
![Darren Cunningham avatar](https://secure.gravatar.com/avatar/d0ea359c3ff6b8093ae53e57fbbe2570.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
trigger cloud function w/workflow run ID as an arg and it runs the firebase bits then does a GH API call to approve the workflow to keep running?
![Jim Park avatar](https://secure.gravatar.com/avatar/e166c478c5b78e93a5fb116d92a2dc7e.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
Reviving zombies here, but why not POST an authenticated workflow_dispatch?
![Jim Park avatar](https://secure.gravatar.com/avatar/e166c478c5b78e93a5fb116d92a2dc7e.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0022-72.png)
Alternatively, if costs is the ultimate concern, you might compare the cost of a small self hosted runner
![Andy avatar](https://avatars.slack-edge.com/2020-05-21/1161682414896_20498c74fddfeb29e652_72.jpg)
Thanks for the suggestion @Jim Park
![Andy avatar](https://avatars.slack-edge.com/2020-05-21/1161682414896_20498c74fddfeb29e652_72.jpg)
I guess that could work, one concern is the detachment between jobs and getting easy visibility of whether the “entire pipeline” completed.
2022-07-20
2022-07-28
![actions Archives | The GitHub Blog avatar](https://a.slack-edge.com/80588/img/services/rss_72.png)
GitHub CLI extension to manage Actions cache GitHub CLI extension to manage Actions cache