Skip to content

Commit

Permalink
debug: ci: s/pull_request_target/pull_request/
Browse files Browse the repository at this point in the history
Signed-off-by: Jiang Xin <[email protected]>
  • Loading branch information
jiangxin committed Feb 16, 2024
1 parent ed23002 commit 2d4c958
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: git-l10n

on: [push, pull_request_target]
on: [push, pull_request]

# Avoid unnecessary builds. Unlike the main CI jobs, these are not
# ci-configurable (but could be).
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Setup base and head objects
id: setup-tips
run: |
if test "${{ github.event_name }}" = "pull_request_target"
if test "${{ github.event_name }}" = "pull_request"
then
base=${{ github.event.pull_request.base.sha }}
head=${{ github.event.pull_request.head.sha }}
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
uses: mshick/add-pr-comment@v2
if: >-
always() &&
github.event_name == 'pull_request_target' &&
github.event_name == 'pull_request' &&
env.COMMENT_BODY != ''
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2d4c958

Please sign in to comment.