diff --git a/.github/workflows/label-bot.yml b/.github/workflows/label-bot.yml index 44c8c11..efc5383 100644 --- a/.github/workflows/label-bot.yml +++ b/.github/workflows/label-bot.yml @@ -15,6 +15,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} retries: 1 + result-encoding: string script: | const labels = ["release: major", "release: minor", "release: patch", "release: none"]; const { data: issue_data } = await github.rest.issues.get({ @@ -31,7 +32,7 @@ jobs: } - name: add-label - if: steps.check-label.outputs.is_release_label == 'false' + if: "${{steps.check-label.outputs.is_release_label == 'false'}}" uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }}