Skip to content

Commit 4d2e8b0

Browse files
author
rahul-infra
committed
updated github action removed pull_request_target.
1 parent 75b6c73 commit 4d2e8b0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/terraform.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
pull_request_target:
8-
types:
9-
- opened
10-
- edited
11-
- synchronize
127
pull_request:
138
branches:
149
- main
@@ -21,7 +16,7 @@ permissions:
2116
jobs:
2217
prTitlecheck:
2318
name: PR title check
24-
if: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.base.ref == 'main' }}
19+
if: ${{ github.event.pull_request.base.ref == 'main' }}
2520
uses: ./.github/workflows/pr-title.yaml
2621

2722
preCommitCheck:

0 commit comments

Comments
 (0)