Skip to content

Commit

Permalink
Merge pull request #4 from devhatt/ajust-assign-author
Browse files Browse the repository at this point in the history
ajust condition
  • Loading branch information
PiluVitu authored Aug 27, 2024
2 parents 84a8d23 + 6712d11 commit fc1b274
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/actions/pnpm-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -28,6 +32,7 @@ runs:
cache: "pnpm"

- name: Setup .env
if: ${{inputs.hasEnvSetup == "true"}}
shell: bash
run: node setup.mjs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fc1b274

Please sign in to comment.