Skip to content

Commit

Permalink
Update benchmarks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmesamster committed Aug 7, 2024
1 parent f954a15 commit 24165c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pr_id:
description: 'Pull Request number'
required: true
default: ''
default: 0
workflow_run:
workflows: ["BuildAndReleaseMaster"]
types:
Expand Down Expand Up @@ -79,11 +79,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const core = require('@actions/core');
const github = require('@actions/github');
const pr_id = parseInt(core.getInput('pr_id'));
const pr_id = parseInt(${{ github.event.inputs.pr_id }});
echo "pr_id is ${{ github.event.inputs.pr_id }}"
await (async () => {
const { data: pr } = await github.pulls.get({
const { data: pr } = await github.rest.pulls.get({
owner: 'esrlabs',
repo: 'chipmunk',
pull_number: pr_id,
Expand Down

0 comments on commit 24165c3

Please sign in to comment.