Skip to content

Commit

Permalink
Skip guides for Rails 6.1
Browse files Browse the repository at this point in the history
Rails 6.1.Z only provides the fix for security issues, not bug fixes
we do not need to run bug_report_templates against Rails 6.1.z (6-1-stable branch) anymore.

This commit is based on the comment below:
rails/rails#47411 (comment)

There was a similar pull request to skip guides for Rails 6.0.
https://github.com/rails/buildkite-config/pull/16/files
  • Loading branch information
yahonda committed Feb 17, 2023
1 parent 11b476f commit 838c522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline-generate
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ end
if RAILS_VERSION < Gem::Version.new("7.x") && RAILS_VERSION >= Gem::Version.new("6.1")
STEPS.delete_if { |s| s["label"] == "guides (2.7)" || s["label"] == "guides (3.0)" }
end
STEPS.delete_if { |s| s["label"] =~ /^guides/ } if RAILS_VERSION < Gem::Version.new("6.1")
STEPS.delete_if { |s| s["label"] =~ /^guides/ } if RAILS_VERSION < Gem::Version.new("7.0")

###

Expand Down

0 comments on commit 838c522

Please sign in to comment.