From 952c6b565832dd0dbcef7a9a80edc871f79e15a8 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Mon, 30 Mar 2026 19:03:22 +0900 Subject: init --- config/ci.rb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/ci.rb (limited to 'config/ci.rb') diff --git a/config/ci.rb b/config/ci.rb new file mode 100644 index 0000000..cf3f194 --- /dev/null +++ b/config/ci.rb @@ -0,0 +1,19 @@ +# Run using bin/ci + +CI.run do + step "Setup", "bin/setup --skip-server" + + step "Style: Ruby", "bin/rubocop" + + step "Security: Gem audit", "bin/bundler-audit" + step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error" + + + # Optional: set a green GitHub commit status to unblock PR merge. + # Requires the `gh` CLI and `gh extension install basecamp/gh-signoff`. + # if success? + # step "Signoff: All systems go. Ready for merge and deploy.", "gh signoff" + # else + # failure "Signoff: CI failed. Do not merge or deploy.", "Fix the issues and try again." + # end +end -- cgit v1.2.3