Skip to content

Commit d6d12e5

Browse files
authored
ci(benchmark): revert to using pull_request_target (#404)
1 parent 1200831 commit d6d12e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Benchmark
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: [labeled]
66

77
jobs:
@@ -23,7 +23,8 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v2
2525
with:
26-
ref: ${{github.event.pull_request.head.ref}}
26+
persist-credentials: false
27+
ref: ${{github.event.pull_request.head.sha}}
2728
repository: ${{github.event.pull_request.head.repo.full_name}}
2829

2930
- uses: actions/setup-node@v2

0 commit comments

Comments
 (0)