From 634b090b9b9a7952b3f70899c6afd44438ce2736 Mon Sep 17 00:00:00 2001 From: Paulo V T Silva Date: Tue, 27 Aug 2024 11:47:31 -0300 Subject: [PATCH 1/2] ajust condition --- .github/actions/pnpm-setup/action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/actions/pnpm-setup/action.yml b/.github/actions/pnpm-setup/action.yml index 9bfb8c9..7b307ea 100644 --- a/.github/actions/pnpm-setup/action.yml +++ b/.github/actions/pnpm-setup/action.yml @@ -10,6 +10,10 @@ inputs: default: "20" required: true description: Define a versão do Node + hasEnvSetup: + default: "false" + required: false + description: Define se tem o setup mjs runs: using: "composite" @@ -28,6 +32,7 @@ runs: cache: "pnpm" - name: Setup .env + if: ${{inputs.hasEnvSetup == "true"}} shell: bash run: node setup.mjs From 6712d11189ebeb08e47d9eadb8f5543297e88c49 Mon Sep 17 00:00:00 2001 From: Paulo V T Silva Date: Tue, 27 Aug 2024 11:58:36 -0300 Subject: [PATCH 2/2] ajust sign contibutor --- .github/workflows/auto-assign.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 0370358..7ea5755 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -44,7 +44,7 @@ jobs: id: check run: | ASSIGNEES=$(curl -H "Authorization: token ${{secrets.PERSONAL_ACCESS_TOKEN}}" \ - "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/assignees" | jq length) + "https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/assignees" | jq '.total_count') echo "::set-output name=assignees::$ASSIGNEES" shell: bash