diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 5e8de0b11..294034be8 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -6,7 +6,7 @@ on: pr_id: description: 'Pull Request number' required: true - default: 0 + default: '' workflow_run: workflows: ["BuildAndReleaseMaster"] types: @@ -92,13 +92,13 @@ jobs: # core.setOutput('repo', pr.head.repo.name); - name: Get PR details if: github.event_name == 'workflow_dispatch' - id: pr_details + id: pr_details_1 uses: actions/github-script@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: script: | - return github.pulls.get({ + github.pulls.get({ owner: 'esrlabs', repo: 'chipmunk', pull_number: pr_id