From 72c560bf71520fcb28102ecf3c1c80f89b0e62a6 Mon Sep 17 00:00:00 2001 From: Daniel Eshkeri Date: Fri, 6 Dec 2024 10:43:37 +0000 Subject: [PATCH] issues write permission --- .github/workflows/ci.yml | 1 + src/main.ts | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d981724..4e3bfde 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: permissions: contents: read + issues: write jobs: test-typescript: diff --git a/src/main.ts b/src/main.ts index 6b2ba68..0d2d344 100644 --- a/src/main.ts +++ b/src/main.ts @@ -31,9 +31,9 @@ export async function run(): Promise { const runStaticAnalysis: boolean = getBooleanInput('run-static-analysis') const runCodeFormatting: boolean = getBooleanInput('run-code-formatting') const runTests: boolean = getBooleanInput('run-tests') - // const runCoverage: boolean = getBooleanInput('run-coverage') - // const coveragePassScore: string = getInput('coverage-pass-score') - // const createComment: boolean = getBooleanInput('create-comment') + // const runCoverage: boolean = getBooleanInput('run-coverage'); + // const coveragePassScore: string = getInput('coverage-pass-score'); + // const createComment: boolean = getBooleanInput('create-comment'); // if (runStaticAnalysis) { then run static analysis script } const analyzeStr: stepResponse | undefined = runStaticAnalysis