From eded939c6d3dc1e28089b5adb7e017f2e8b2bcb6 Mon Sep 17 00:00:00 2001 From: mauriziovitale Date: Fri, 19 Jul 2024 12:40:13 +0200 Subject: [PATCH] Export level --- .github/actions/determine-complexity/determine-pr-complexity.js | 1 + .github/workflows/pull-request.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/determine-complexity/determine-pr-complexity.js b/.github/actions/determine-complexity/determine-pr-complexity.js index 01756e8811..a366510389 100644 --- a/.github/actions/determine-complexity/determine-pr-complexity.js +++ b/.github/actions/determine-complexity/determine-pr-complexity.js @@ -89,4 +89,5 @@ module.exports = async ({ core, github, context, fileChangedLimit = 5, linesChan const details = await getPRDetails(github, core, owner, repo, pull_number); core.info(`PR details: ${JSON.stringify(details)}`); + core.setOutput('level', details.level); }; diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index f24f1c2119..1184820a43 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -512,7 +512,7 @@ jobs: uses: ./.github/actions/determine-complexity with: file-changed-limit: 10 - lines-changed-limit: 100 + lines-changed-limit: 450 verify-downstream: needs: determine-complexity