Skip to content

Commit

Permalink
ci: revert to using pull_request_target (#3832)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Apr 13, 2022
1 parent e89f823 commit 995ed19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Benchmark

on:
pull_request:
pull_request_target:
types: [labeled]

jobs:
Expand All @@ -23,7 +23,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
ref: ${{github.event.pull_request.head.ref}}
persist-credentials: false
ref: ${{github.event.pull_request.head.sha}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Pull Request Labeler"
on: pull_request
on: pull_request_target

permissions:
contents: read
Expand Down

0 comments on commit 995ed19

Please sign in to comment.