Files
ubicloud/migrate/20230919_add_branch_to_github_runner.rb
Enes Cakir 8f243b0084 Add head_branch info to the GitHub runners
Customers want to quickly see what triggered the job. GitHub only sends
"head_branch" information during the "workflow_job" event related to
this topic. We need to make an additional request to gather more
information. For now, I've only added head_branch. If customers need
more information, it justifies making an extra API call.
2023-09-21 11:12:03 +03:00

10 lines
169 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:github_runner) do
add_column :head_branch, :text, collate: '"C"'
end
end
end