diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index 2621de3a..c6e36473 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -32,7 +32,7 @@ jobs: uses: actions/github-script@v6 with: script: | - if (${{ secrets.PRIVATE_KEY }} == "") { + if ("${{ secrets.PRIVATE_KEY }}" == "") { core.setFailed('Failed to access PRIVATE_KEY secret') } - name: Comment on successful run @@ -65,5 +65,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - uses: boa-dev/criterion-compare-action@v3 with: + # Optional. Compare only this benchmark target + benchName: "fibonacci" # Needed. The name of the branch to compare with branchName: ${{ github.ref_name }}