Skip to content

Commit e60d2e0

Browse files
ci: Enforce compliance check at pr_target
Behavior with approving and unlabeling was not preferable. Now this will run on pr_target - meaning as soon as PR is introduced for the repository. This might also help with review process, as contributor will know right away about any style issues.
1 parent 6f36f8a commit e60d2e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/compliance_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
name: Compliance check
2121

2222
on:
23-
pull_request:
24-
types: [opened, synchronize, reopened, labeled, unlabeled]
23+
pull_request_target:
24+
types: [opened, synchronize, reopened, synchronize]
2525

2626
jobs:
2727
style_check:

0 commit comments

Comments
 (0)