Repository navigation
Generate ci.yml as a caller of RoleModel/actions' rails-ci workflow - #234
Merged
Merged
Conversation
RoleModel/actions' README says rails-ci.yml supersedes the composite actions this template used. New apps now get a short caller that runs RuboCop, ESLint, bundler-audit, Brakeman and the parallel RSpec suite in one job. CI runs on pushes to main and on pull requests, so a PR branch no longer runs it twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It fails every PR whenever any locked gem has a published advisory, which Dependabot already turns into its own pull request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
githubgenerator'sci.ymlnow callsRoleModel/actions' reusablerails-ci.ymlinstead of the composite actions, which that README says it replaces.tarsco_bolted_tank'sci.ymlwas the reference.Generated
ci.ymlDifferences from the old template
rails-ci.ymlruns setup steps in parallel and includes Project Stats, so the separateproject-stats,compile-assetsand system and non-system test jobs are gone.main. Previously a branch with an open PR ran CI twice, once for the push and once for the PR.yarn eslint, the script theeslintgenerator adds). The old template never ran it.failure-screenshot-dir: tmp/screenshotsmatches thesave_pathin the rspec generator'scapybara_config.rb. The old template left it commented out, andrails-ci.ymldefaults totmp/capybara.bin/bundler-audit. It fails every PR whenever any locked gem has a published advisory, and Dependabot already opens a PR for those. This matchestarsco_bolted_tank, which removed it.--no-playwrightnow leaves outplaywright: true, so system tests use the runner's preinstalled Chrome. It used to setweb-driver: seleniumon the composite action.set_webdriveris removed.The
database.ymlchange for CI stays, becauserails-ci.ymlstill setsPOSTGRES_USER/POSTGRES_PASSWORD.Verification
ci.ymlwith and without--no-playwrightagainst the example app; both versions are valid YAML and match the output above.🤖 Generated with Claude Code