Skip to content

Commit

Permalink
dont use pull_request_target as it opens the repo for pwnage..
Browse files Browse the repository at this point in the history
  • Loading branch information
bj00rn committed Jun 17, 2024
1 parent f539e03 commit ff79c33
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request_target: # Use pull_request_target
pull_request:
branches: [master, beta, release]

jobs:
Expand All @@ -12,8 +12,6 @@ jobs:
options: --user root
steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.pull_request.merge_commit_sha }}' # since event is pull_request_target
- name: Install Packages
run: yarn install --frozen-lockfile
- name: Build
Expand Down

0 comments on commit ff79c33

Please sign in to comment.