thoughtbot / suspenders

A Rails template with our standard defaults.
https://thoughtbot.com
MIT License
4.02k stars 528 forks source link

Introduce `suspenders:ci` generator #1172

Closed stevepolitodesign closed 8 months ago

stevepolitodesign commented 8 months ago

Creates CI template to be run via GitHub Actions based on a similar template that will be generated in an upcoming Release of Rails.

Also create a Dependabot file based off the the upcoming release.

Raises if the application is not using PostgreSQL, since our CI template assumes that adapter.

Because this generator can be run in an existing application, we add conditional checks for some jobs. However, this generator is intended to be run as part of our holistic suspenders:install:web which will be introduced in #1152.

Once Rails is released to contain a CI template, we will need to consider how we want to handle conflicts between its file and ours, but for now, we do not need to worry about that.