You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/lint-and-tests.yml
+25-11Lines changed: 25 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,11 @@ on:
19
19
branches:
20
20
- main
21
21
merge_group:
22
+
pull_request_target:
23
+
types: [labeled]
22
24
23
-
# The permissions specified below apply to workflows triggered by `merge_group`, `push`, and `pull_request` events that originate from the same repository (non-fork).
25
+
# The permissions specified below apply to workflows triggered by `merge_group`, `push`, `pull_request_target`, and `pull_request` events
26
+
# that originate from the same repository (non-fork).
24
27
# However, workflows triggered by `pull_request` events from forked repositories are treated differently for security reasons:
25
28
# - These workflows **do not** have access to any secrets configured in the repository.
26
29
# - They are also **not granted any permissions** to perform actions on the base repository.
@@ -38,6 +41,12 @@ env:
38
41
39
42
jobs:
40
43
lint:
44
+
# This workflow should only be triggered by the pull_request_target event
45
+
# when the label 'github_actions:pull-request' is added to a crowdin PR.
46
+
#
47
+
# We don't need to run Quality checks on Crowdin PRs, so we just skip this
0 commit comments