add repositories replace_file json

This commit is contained in:
chenjing 2023-05-06 14:42:11 +08:00
parent 79f349d634
commit 4c1bcd87a2
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
json.name @file['content']['name']
json.sha @file['content']['sha']
json.size @file['content']['size']
json.content @file['content']['content']
json.encoding @file['content']['encoding']
json.pr_id @pull_issue.try(:id)
json.commit do
json.message @file['commit']['message']
json.author @file['commit']['author']
json.committer @file['commit']['committer']
end