We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 616d43b commit c263b1cCopy full SHA for c263b1c
.github/workflows/l10n.yml
@@ -1,6 +1,6 @@
1
name: git-l10n
2
3
-on: [push, pull_request_target]
+on: [push, pull_request]
4
5
# Avoid unnecessary builds. Unlike the main CI jobs, these are not
6
# ci-configurable (but could be).
@@ -21,7 +21,7 @@ jobs:
21
- name: Setup base and head objects
22
id: setup-tips
23
run: |
24
- if test "${{ github.event_name }}" = "pull_request_target"
+ if test "${{ github.event_name }}" = "pull_request"
25
then
26
base=${{ github.event.pull_request.base.sha }}
27
head=${{ github.event.pull_request.head.sha }}
@@ -94,7 +94,7 @@ jobs:
94
uses: mshick/add-pr-comment@v2
95
if: >-
96
always() &&
97
- github.event_name == 'pull_request_target' &&
+ github.event_name == 'pull_request' &&
98
env.COMMENT_BODY != ''
99
with:
100
repo-token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments