Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce suspenders:ci generator #1172

Merged
merged 1 commit into from
Mar 23, 2024

Commits on Mar 23, 2024

  1. Introduce suspenders:ci generator

    Creates CI template to be run via [GitHub Actions][ga] based on a
    [similar template][ci template] that will be generated in an upcoming
    Release of Rails.
    
    Also create a [Dependabot][dependabot] file based off the [the upcoming
    release][ci template].
    
    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.
    
    [ga]: https://docs.github.com/en/actions
    [ci template]: rails/rails#50508
    [dependabot]: https://docs.github.com/en/code-security/dependabot/working-with-dependabot
    stevepolitodesign committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e65f072 View commit details
    Browse the repository at this point in the history