merative / spm-middleware

A collection of Middleware modules and roles required for installing Cúram Social Program Management. SUITABLE FOR INTERNAL TEST AND DEVELOPMENT ONLY
MIT License
1 stars 6 forks source link

Add galaxy.yml status check for pr's #6

Open salob opened 3 years ago

salob commented 3 years ago

When we submit a pr we need to update the version in galaxy.yml. We could implement a quick check in Travis (or some other way?) to check if the version has been incremented or at the very least that the file has been changed.

andreyzher commented 3 years ago

One way of doing this is to only publish when the repository is tagged, rather than on merge to the main branch - a flow that is pretty common for many projects.

andreyzher commented 3 years ago

I believe I have this flow implemented using GitHub Actions on my fork (some parts are only done in theory as they require credentials to be configured under Settings -> Secrets):

https://github.com/IBM/spm-middleware/compare/main...andreyzher:gh-actions

This, of course, assumes that the team would be willing to adopt the use of GitHub Actions instead of Travis. I'm going to leave the fork & branch there for reference.