Skip to content

Commit 3a32caf

Browse files
committed
chore(ci): remove labeled trigger and verified label condition
Remove the `labeled` trigger type from pull_request_target and the associated `verified` label guard from the if condition. The check now fires on opened and synchronize only, without requiring a label.
1 parent f707e77 commit 3a32caf

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/check-approvals.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
issue_comment:
55
types: [created]
66
pull_request:
7-
types: [opened, labeled, synchronize]
7+
types: [opened, synchronize]
88

99
permissions:
1010
contents: read
@@ -23,11 +23,7 @@ jobs:
2323
github.event.issue.pull_request != null
2424
) || (
2525
github.event_name == 'pull_request' &&
26-
github.event.action == 'opened'
27-
) || (
28-
github.event_name == 'pull_request' &&
29-
(github.event.action == 'labeled' || github.event.action == 'synchronize') &&
30-
contains(github.event.pull_request.labels.*.name, 'verified')
26+
(github.event.action == 'opened' || github.event.action == 'synchronize')
3127
)
3228
steps:
3329
- name: Install @qvac/ci

0 commit comments

Comments
 (0)