Skip to content

Commit 48e8861

Browse files
committed
chore(workflow): fix bundle staging package (#122)
1 parent e804e51 commit 48e8861

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build-check.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,25 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request:
7+
pull_request_target:
8+
types:
9+
- opened
10+
- synchronize
11+
- reopened
12+
- edited
813
env:
914
GITLAB_NPM_TOKEN: ${{secrets.GITLAB_NPM_TOKEN}}
1015
jobs:
1116
build-check:
17+
permissions: read-all
1218
runs-on: ubuntu-latest
1319
strategy:
1420
matrix:
1521
node-version: [16.x]
1622
steps:
1723
- uses: actions/checkout@v2
24+
with:
25+
ref: ${{ github.event.pull_request.head.sha }}
1826
- name: Use Node.js ${{ matrix.node-version }}
1927
uses: actions/setup-node@v2
2028
with:

0 commit comments

Comments
 (0)