langtech-bsc / magma

Apache License 2.0
0 stars 0 forks source link

5 one job per repobranch limitation #12

Closed ankush13r closed 3 weeks ago

ankush13r commented 3 weeks ago

Made a new composite action to check jobs by name or job id, it returns whether the job exists or not, additionly if job or jobs exists returns also jobs id.

This action is being used in reusable workflow as a pre-job to check if jobs exists or not. In the case job exists it will throw an error with a proper message and will exit with exit code 1. Otherwise, will continue to next job that launches the job on cluster.