Skip to content

Commit

Permalink
chore: fixed LOG_LEVEL environment
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Dec 12, 2024
1 parent 8f5d852 commit a602dba
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
PERMIT_TREASURY_GITHUB_USERNAME: ${{ secrets.PERMIT_TREASURY_GITHUB_USERNAME }}
PERMIT_ERC20_TOKENS_NO_FEE_WHITELIST: ${{ secrets.PERMIT_ERC20_TOKENS_NO_FEE_WHITELIST }}
KERNEL_PUBLIC_KEY: ${{ secrets.KERNEL_PUBLIC_KEY }}
LOG_LEVEL: ${{ secrets.LOG_LEVEL }}

steps:
# Note: the checkout could potentially be avoided by calling the workflow on the repo/branch directly.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ with:
incentives:
requirePriceLabel: true
limitRewards: true
collaboratorOnlyPaymentInvocation: false
collaboratorOnlyPaymentInvocation: true
contentEvaluator:
openAi:
model: "gpt-4o"
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"type": "boolean"
},
"collaboratorOnlyPaymentInvocation": {
"default": false,
"default": true,
"description": "If true, will allow contributors to generate permits.",
"type": "boolean"
},
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function run(context: ContextPlugin) {
return result.logMessage.raw;
}

if (!config.incentives.collaboratorOnlyPaymentInvocation && !(await isUserAllowedToGeneratePermits(context))) {
if (config.incentives.collaboratorOnlyPaymentInvocation && !(await isUserAllowedToGeneratePermits(context))) {
const result = logger.error("You are not allowed to generate permits.");
await postComment(context, result);
return result.logMessage.raw;
Expand Down
2 changes: 1 addition & 1 deletion src/types/plugin-input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const pluginSettingsSchema = T.Object(
description: "Should the rewards of non-assignees be limited to the task reward?",
}),
collaboratorOnlyPaymentInvocation: T.Boolean({
default: false,
default: true,
description: "If true, will allow contributors to generate permits.",
}),
contentEvaluator: T.Union([contentEvaluatorConfigurationType, T.Null()], { default: null }),
Expand Down

0 comments on commit a602dba

Please sign in to comment.