Skip to content

Commit 2d4c958

Browse files
committed
debug: ci: s/pull_request_target/pull_request/
Signed-off-by: Jiang Xin <[email protected]>
1 parent ed23002 commit 2d4c958

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/l10n.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: git-l10n
22

3-
on: [push, pull_request_target]
3+
on: [push, pull_request]
44

55
# Avoid unnecessary builds. Unlike the main CI jobs, these are not
66
# ci-configurable (but could be).
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup base and head objects
2222
id: setup-tips
2323
run: |
24-
if test "${{ github.event_name }}" = "pull_request_target"
24+
if test "${{ github.event_name }}" = "pull_request"
2525
then
2626
base=${{ github.event.pull_request.base.sha }}
2727
head=${{ github.event.pull_request.head.sha }}
@@ -95,7 +95,7 @@ jobs:
9595
uses: mshick/add-pr-comment@v2
9696
if: >-
9797
always() &&
98-
github.event_name == 'pull_request_target' &&
98+
github.event_name == 'pull_request' &&
9999
env.COMMENT_BODY != ''
100100
with:
101101
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)