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.
10 lines
169 B
Ruby
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
|