Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .papi/descriptors/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.0-autogenerated.9533819768557819421",
"version": "0.1.0-autogenerated.1287053452949193419",
"name": "@polkadot-api/descriptors",
"files": [
"dist"
Expand All @@ -19,6 +19,6 @@
"types": "./dist/index.d.ts",
"sideEffects": false,
"peerDependencies": {
"polkadot-api": "*"
"polkadot-api": ">=1.11.2"
}
}
Binary file modified .papi/metadata/collectives.scale
Binary file not shown.
Binary file modified .papi/metadata/people.scale
Binary file not shown.
10 changes: 7 additions & 3 deletions .papi/polkadot-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
"entries": {
"collectives": {
"wsUrl": "wss://polkadot-collectives-rpc.polkadot.io",
"metadata": ".papi/metadata/collectives.scale"
"metadata": ".papi/metadata/collectives.scale",
"genesis": "0x46ee89aa2eedd13e988962630ec9fb7565964cf5023bb351f2b6b25c1b68b0b2",
"codeHash": "0xd4c7e0bd585b07c41426181d59c4e14e9bb0f17a5d4c3043d8bba659fa94c3a0"
},
"people": {
"wsUrl": "wss://polkadot-people-rpc.polkadot.io",
"metadata": ".papi/metadata/people.scale"
"metadata": ".papi/metadata/people.scale",
"genesis": "0x67fa177a097bfa18f77ea95ab56e9bcdfeb0e5b8a40e46298bb93e16b6fc5008",
"codeHash": "0x5ad90a21b395a16a6d720983bb9fdd096577710beea33c7882bb61a7518dbb79"
}
}
}
}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ outputs:

runs:
using: 'docker'
image: 'docker://ghcr.io/paritytech/review-bot/action:2.7.0'
image: 'docker://ghcr.io/paritytech/review-bot/action:2.7.1'
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "review-bot",
"version": "2.7.0",
"version": "2.7.1",
"description": "Have custom review rules for PRs with auto assignment",
"main": "src/index.ts",
"scripts": {
Expand Down Expand Up @@ -41,8 +41,8 @@
"@eng-automation/js": "^2.2.0",
"@polkadot-api/descriptors": "portal:.papi/descriptors",
"joi": "^17.13.1",
"polkadot-api": "^1.8.2",
"smoldot": "^2.0.34",
"polkadot-api": "^1.13.0",
"smoldot": "^2.0.35",
"yaml": "^2.3.4"
},
"packageManager": "yarn@4.3.0",
Expand Down
5 changes: 2 additions & 3 deletions src/polkadot/fellows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ export class PolkadotFellows implements TeamApi {
): Promise<string | undefined> {
logger.debug(`Fetching identity of '${address}'`);

const identityOf = await peopleApi.query.Identity.IdentityOf.getValue(address);
const identity = await peopleApi.query.Identity.IdentityOf.getValue(address);

if (identityOf) {
const [identity] = identityOf;
if (identity) {
const github = readIdentityData(identity.info.github);

if (!github) {
Expand Down
23 changes: 11 additions & 12 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true
},
"exclude": [
"node_modules",
]
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"outDir": "./dist",
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"exclude": ["node_modules"]
}
Loading