Skip to content

Commit 88d26a1

Browse files
authored
fix: remove target
1 parent 5086172 commit 88d26a1

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
name: Build PR
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types: [assigned, opened, synchronize, reopened]
66

77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
1213
strategy:
1314
matrix:
1415
node-version: [16.x]
16+
1517
steps:
1618
- uses: actions/checkout@v2
17-
with:
18-
ref: ${{ github.event.pull_request.head_sha }}
1919

2020
- name: Use Node.js ${{ matrix.node-version }}
2121
uses: actions/setup-node@v1
@@ -33,9 +33,7 @@ jobs:
3333
- name: Install and build
3434
run: |
3535
#!/bin/bash
36-
3736
set -e
3837
set -o pipefail
39-
4038
npm install
41-
npm run build
39+
npm run build

0 commit comments

Comments
 (0)