I have a GitHub workflow that runs test cases on a remote shared cluster.
The point is that there are several tests and the job usually takes hours.
I don't want to setup a job that runs a SSH command and wait until it is done because it is shared and the resources cannot be available.
I would like to run the job using PBS or SLURM and wait until is completed by GitHub action.
That's why SSH is still important because I need to use SSH to access the login node to run a job on server.
How can I do it using existing actions? Is there any loop that runs in a certain period of time with a timeout condition, for example?