diff --git a/.github/workflows/benchmark-pr.yml b/.github/workflows/benchmark-pr.yml index 189328b66..954e15551 100644 --- a/.github/workflows/benchmark-pr.yml +++ b/.github/workflows/benchmark-pr.yml @@ -134,8 +134,6 @@ jobs: - name: Commit saved results if: inputs.save == 'true' - env: - FRAMEWORK: ${{ inputs.framework }} run: | PR_DATA=$(gh api "/repos/${{ github.repository }}/pulls/${{ inputs.pr }}" --jq '.head.ref + " " + .head.repo.full_name') PR_BRANCH=$(echo "$PR_DATA" | awk '{print $1}') @@ -159,6 +157,7 @@ jobs: fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + FRAMEWORK: ${{ inputs.framework }} - name: Post results to PR if: always()