refactor: evmNetworkId cleanup #100
bot.yml
on: push
Calculate Bounty with UbiquiBot
53s
Annotations
2 errors
Calculate Bounty with UbiquiBot
commit.modified is not iterable
{
name: 'event',
id: '6303959062',
err: {
type: 'TypeError',
message: 'commit.modified is not iterable',
stack: 'TypeError: commit.modified is not iterable\n' +
' at getCommitChanges (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:15:39)\n' +
' at validateConfigChange (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:63:19)\n' +
' at bindEvents (/home/runner/work/ubiquibot/ubiquibot/src/bindings/event.ts:120:11)\n' +
' at async Promise.all (index 0)',
event: {
id: '6303959062',
name: 'push',
payload: {
after: '7062a048de71bfad2b55793a41ad0105376e24c9',
base_ref: null,
before: 'f98a951efda3c62e6ca6ef6f113ae1d40b711193',
commits: [
{
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: '7062a048de71bfad2b55793a41ad0105376e24c9',
message: 'refactor: evmNetworkId cleanup',
timestamp: '2023-09-26T04:27:55+09:00',
tree_id: 'cac837cff908edc4b0a8229122c626015b7ea9e1',
url: 'https://github.com/pavlovcik/ubiquibot/commit/7062a048de71bfad2b55793a41ad0105376e24c9'
}
],
compare: 'https://github.com/pavlovcik/ubiquibot/compare/f98a951efda3...7062a048de71',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: '7062a048de71bfad2b55793a41ad0105376e24c9',
message: 'refactor: evmNetworkId cleanup',
timestamp: '2023-09-26T04:27:55+09:00',
tree_id: 'cac837cff908edc4b0a8229122c626015b7ea9e1',
url: 'https://github.com/pavlovcik/ubiquibot/commit/7062a048de71bfad2b55793a41ad0105376e24c9'
},
pusher: {
email: '[email protected]',
name: 'pavlovcik'
},
ref: 'refs/heads/refactor/general',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/assignees{/user}',
blobs_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/branches{/branch}',
clone_url: 'https://github.com/pavlovcik/ubiquibot.git',
collaborators_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/comments{/number}',
commits_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/commits{/sha}',
compare_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/contents/{+path}',
contributors_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/contributors',
created_at: 1677852026,
default_branch: 'development',
deployments_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/deployments',
description: 'Ubiquity GitHub Bot',
disabled: false,
downloads_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/downloads',
events_url: 'https://api.github.com/repos/pavlovcik/ubiquibot/events',
fork: true,
forks: 0,
forks_count: 0,
|
Calculate Bounty with UbiquiBot
TypeError: commit.modified is not iterable
at getCommitChanges (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:15:39)
at validateConfigChange (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:63:19)
at bindEvents (/home/runner/work/ubiquibot/ubiquibot/src/bindings/event.ts:120:11)
at async Promise.all (index 0)
{
err: {
type: 'AggregateError',
message: '\n' +
' TypeError: commit.modified is not iterable\n' +
' at getCommitChanges (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:15:39)\n' +
' at validateConfigChange (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:63:19)\n' +
' at bindEvents (/home/runner/work/ubiquibot/ubiquibot/src/bindings/event.ts:120:11)\n' +
' at async Promise.all (index 0)',
stack: 'AggregateError: \n' +
' TypeError: commit.modified is not iterable\n' +
' at getCommitChanges (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:15:39)\n' +
' at validateConfigChange (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:63:19)\n' +
' at bindEvents (/home/runner/work/ubiquibot/ubiquibot/src/bindings/event.ts:120:11)\n' +
' at async Promise.all (index 0)\n' +
' at <anonymous> (/home/runner/work/ubiquibot/ubiquibot/node_modules/@octokit/webhooks/dist-node/index.js:187:19)',
aggregateErrors: [
{
type: 'TypeError',
message: 'commit.modified is not iterable',
stack: 'TypeError: commit.modified is not iterable\n' +
' at getCommitChanges (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:15:39)\n' +
' at validateConfigChange (/home/runner/work/ubiquibot/ubiquibot/src/handlers/push/index.ts:63:19)\n' +
' at bindEvents (/home/runner/work/ubiquibot/ubiquibot/src/bindings/event.ts:120:11)\n' +
' at async Promise.all (index 0)',
event: {
id: '6303959062',
name: 'push',
payload: {
after: '7062a048de71bfad2b55793a41ad0105376e24c9',
base_ref: null,
before: 'f98a951efda3c62e6ca6ef6f113ae1d40b711193',
commits: [
{
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: '7062a048de71bfad2b55793a41ad0105376e24c9',
message: 'refactor: evmNetworkId cleanup',
timestamp: '2023-09-26T04:27:55+09:00',
tree_id: 'cac837cff908edc4b0a8229122c626015b7ea9e1',
url: 'https://github.com/pavlovcik/ubiquibot/commit/7062a048de71bfad2b55793a41ad0105376e24c9'
}
],
compare: 'https://github.com/pavlovcik/ubiquibot/compare/f98a951efda3...7062a048de71',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: '7062a048de71bfad2b55793a41ad0105376e24c9',
message: 'refactor: evmNetworkId cleanup',
timestamp: '2023-09-26T04:27:55+09:00',
tree_id: 'cac837cff908edc4b0a8229122c626015b7ea9e1',
url: 'https://github.com/pavlovcik/ubiquibot/commit/7062a048de71bfad2b55793a41ad0105376e24c9'
},
pusher: {
email: '[email protected]',
|