Skip to content

Commit

Permalink
Error reading JToken from JsonReader #274
Browse files Browse the repository at this point in the history
env evaluated even when if fails
  • Loading branch information
bcaller committed Jul 14, 2023
1 parent 1ea1ca7 commit 3fe5864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ runs:
if: ${{ steps.reviewdog-enabled-pr.outputs.result == 'true' }}
uses: actions/github-script@v6
env:
ASSIGNEES: ${{ fromJson(steps.assignees-after.outputs.result) }}
ASSIGNEES: ${{ steps.assignees-after.outputs.result && fromJson(steps.assignees-after.outputs.result) }}
with:
script: |
const { ASSIGNEES } = process.env;
Expand Down

0 comments on commit 3fe5864

Please sign in to comment.