SciCatProject / backend-v3

SciCat Data Catalogue Backend
https://scicatproject.github.io/documentation/
BSD 3-Clause "New" or "Revised" License
13 stars 17 forks source link

Avoid gitlab workflows when not in SciCatProject #601

Closed dylanmcreynolds closed 2 years ago

dylanmcreynolds commented 2 years ago

Description

The github actions launch gitlab CI for ESS and PSI.

At ALS, we are building CI based more entirely on GitHub Actions, through forks in our own organization.

This fails for us in the backend repository because we don't have keys for the gitlab CI.

This PR adds a condition that the builds only get run if the github organization is SciCatProject. This should preserve the current behavior for PSI and ESS, while allowing GitHub actions to complete in forks of the projects.