refactor: enableAccessControl
to publicAccessControl
#96
bot.yml
on: push
Calculate Bounty with UbiquiBot
58s
Annotations
2 errors
Calculate Bounty with UbiquiBot
commit.modified is not iterable
{
name: 'event',
id: '6303903016',
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: '6303903016',
name: 'push',
payload: {
after: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
base_ref: null,
before: 'db3685bdf2db9950a72a6a19403827b900a7e378',
commits: [
{
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
message: 'refactor: `enableAccessControl` to `publicAccessControl`\n' +
'\n' +
'ref:\n' +
'https://github.com/ubiquity/ubiquibot/pull/697#discussion_r1320831528',
timestamp: '2023-09-26T04:21:36+09:00',
tree_id: '534381d6543a9e98f0b64350d4b70876d34b4fd4',
url: 'https://github.com/pavlovcik/ubiquibot/commit/cd3c4b2082134316bf1574f80e0c67b18cb7ca19'
}
],
compare: 'https://github.com/pavlovcik/ubiquibot/compare/db3685bdf2db...cd3c4b208213',
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: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
message: 'refactor: `enableAccessControl` to `publicAccessControl`\n' +
'\n' +
'ref:\n' +
'https://github.com/ubiquity/ubiquibot/pull/697#discussion_r1320831528',
timestamp: '2023-09-26T04:21:36+09:00',
tree_id: '534381d6543a9e98f0b64350d4b70876d34b4fd4',
url: 'https://github.com/pavlovcik/ubiquibot/commit/cd3c4b2082134316bf1574f80e0c67b18cb7ca19'
},
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/deploymen
|
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: '6303903016',
name: 'push',
payload: {
after: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
base_ref: null,
before: 'db3685bdf2db9950a72a6a19403827b900a7e378',
commits: [
{
author: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
committer: {
email: '[email protected]',
name: 'アレクサンダー.eth',
username: 'pavlovcik'
},
distinct: true,
id: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
message: 'refactor: `enableAccessControl` to `publicAccessControl`\n' +
'\n' +
'ref:\n' +
'https://github.com/ubiquity/ubiquibot/pull/697#discussion_r1320831528',
timestamp: '2023-09-26T04:21:36+09:00',
tree_id: '534381d6543a9e98f0b64350d4b70876d34b4fd4',
url: 'https://github.com/pavlovcik/ubiquibot/commit/cd3c4b2082134316bf1574f80e0c67b18cb7ca19'
}
],
compare: 'https://github.com/pavlovcik/ubiquibot/compare/db3685bdf2db...cd3c4b208213',
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: 'cd3c4b2082134316bf1574f80e0c67b18cb7ca19',
message: 'refactor: `enableAccessControl` to `publicAccessControl`\n' +
'\n' +
'ref:\n' +
'https://github.com/ubiquity/ubiquibot/pull/697#discussion_r132
|