We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1bd4fe commit 624c035Copy full SHA for 624c035
1 file changed
.github/workflows/fork_pr_benchmarks_track.yml
@@ -31,7 +31,8 @@ jobs:
31
script: |
32
let fs = require('fs');
33
let prEvent = JSON.parse(fs.readFileSync(process.env.PR_EVENT, {encoding: 'utf8'}));
34
- core.exportVariable("PR_HEAD", `${prEvent.number}/merge`);
+ core.exportVariable("PR_HEAD", `fork/${prEvent.pull_request.head.ref}`);
35
+ core.exportVariable("PR_HEAD_SHA", prEvent.pull_request.head.sha);
36
core.exportVariable("PR_BASE", prEvent.pull_request.base.ref);
37
core.exportVariable("PR_BASE_SHA", prEvent.pull_request.base.sha);
38
core.exportVariable("PR_NUMBER", prEvent.number);
@@ -42,6 +43,7 @@ jobs:
42
43
--project example \
44
--token '${{ secrets.BENCHER_API_TOKEN }}' \
45
--branch "$PR_HEAD" \
46
+ --hash "$PR_HEAD_SHA" \
47
--start-point "$PR_BASE" \
48
--start-point-hash "$PR_BASE_SHA" \
49
--start-point-clone-thresholds \
0 commit comments