Skip to content

Commit

Permalink
action: fix insecure action on pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
imeoer committed Apr 20, 2023
1 parent 79f4a68 commit 4bcfeaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: ["**", "stable/**"]
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.svg', '**/docs/**' ]
pull_request_target:
pull_request:
branches: ["**", "stable/**"]
paths-ignore: [ '**.md', '**.png', '**.jpg', '**.svg', '**/docs/**' ]
schedule:
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:

benchmark-result:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request_target'
if: github.event_name == 'pull_request'
needs: [benchmark-oci, benchmark-zran-all-prefetch, benchmark-nydus-no-prefetch, benchmark-nydus-all-prefetch, benchmark-nydus-filelist-prefetch]
steps:
- name: Download benchmark-oci
Expand Down

0 comments on commit 4bcfeaf

Please sign in to comment.