fix: revert workflow to pull_request (#28996)

for security reason
This commit is contained in:
偏右 2021-01-23 13:18:57 +08:00 committed by GitHub
parent 914fe4c3f6
commit 73b0cca567
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
name: 📦 Compressed Size name: 📦 Compressed Size
on: [pull_request_target] on: [pull_request]
jobs: jobs:
build: build:
@ -11,8 +11,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
- uses: preactjs/compressed-size-action@v2 - uses: preactjs/compressed-size-action@v2
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"