Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c263b1c

Browse files
committedFeb 16, 2024·
debug: ci: s/pull_request_target/pull_request/
Signed-off-by: Jiang Xin <[email protected]>
1 parent 616d43b commit c263b1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/l10n.yml

+3-3
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 }}
@@ -94,7 +94,7 @@ jobs:
9494
uses: mshick/add-pr-comment@v2
9595
if: >-
9696
always() &&
97-
github.event_name == 'pull_request_target' &&
97+
github.event_name == 'pull_request' &&
9898
env.COMMENT_BODY != ''
9999
with:
100100
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.