Skip to content

Commit d8e5821

Browse files
committed
ci: add pull_request_target triggers to workflow files
1 parent cfff64c commit d8e5821

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

.github/workflows/analyze.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Analyze Bundle
22

33
on:
44
pull_request:
5+
pull_request_target:
56
push:
67
branches:
78
- main # change this if your default branch is named differently

.github/workflows/site_lint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main # change this if your default branch is named differently
77
pull_request:
88
types: [opened, synchronize, reopened]
9+
pull_request_target:
10+
types: [opened, synchronize, reopened]
911

1012
jobs:
1113
lint:

.github/workflows/textlint_lint.yml

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ on:
1919
- 'textlint/**/*.js'
2020
- '.github/workflows/textlint_lint.yml'
2121

22+
pull_request_target:
23+
types:
24+
- opened
25+
- synchronize
26+
- reopened
27+
paths:
28+
- 'src/**/*.md'
29+
- 'textlint/**/*.js'
30+
- '.github/workflows/textlint_lint.yml'
31+
2232
jobs:
2333
Lint:
2434
runs-on: ubuntu-latest

.github/workflows/textlint_test.yml

+9
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ on:
1717
- 'textlint/**/*.js'
1818
- '.github/workflows/textlint_test.yml'
1919

20+
pull_request_target:
21+
types:
22+
- opened
23+
- synchronize
24+
- reopened
25+
paths:
26+
- 'textlint/**/*.js'
27+
- '.github/workflows/textlint_test.yml'
28+
2029
jobs:
2130
Test:
2231
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)