File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 3131 script : |
3232 let fs = require('fs');
3333 let prEvent = JSON.parse(fs.readFileSync(process.env.PR_EVENT, {encoding: 'utf8'}));
34- core.exportVariable("PR_HEAD", `${prEvent.number}/merge`);
34+ core.exportVariable("PR_HEAD", `fork/${prEvent.pull_request.head.ref}`);
35+ core.exportVariable("PR_HEAD_SHA", prEvent.pull_request.head.sha);
3536 core.exportVariable("PR_BASE", prEvent.pull_request.base.ref);
3637 core.exportVariable("PR_BASE_SHA", prEvent.pull_request.base.sha);
3738 core.exportVariable("PR_NUMBER", prEvent.number);
4243 --project example \
4344 --token '${{ secrets.BENCHER_API_TOKEN }}' \
4445 --branch "$PR_HEAD" \
46+ --hash "$PR_HEAD_SHA" \
4547 --start-point "$PR_BASE" \
4648 --start-point-hash "$PR_BASE_SHA" \
4749 --start-point-clone-thresholds \
You can’t perform that action at this time.
0 commit comments