Skip to content

Commit 27ec929

Browse files
committed
ci: change the trigger workflow from pull_request_event to pull_request
1 parent 8d5d8c3 commit 27ec929

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/lint-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Lint PR"
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types:
66
- opened
77
- edited

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches: [ main ]
66
pull_request:
7-
branches: [ main ]
87

98
jobs:
109
build:

.github/workflows/validate-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Lint commit
22

3-
on: pull_request_target
3+
on: pull_request
44

55
jobs:
66
commitlint:

0 commit comments

Comments
 (0)