Skip to content

Commit c84d401

Browse files
add pull request condition
1 parent be3b75e commit c84d401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/l10n.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434

3535
jobs:
3636
L10N-MacOS:
37-
if: ${{ inputs.job_to_run == 'L10N-MacOS' || inputs.mac_installer_link }}
37+
if: ${{ github.event_name == 'pull_request' || inputs.job_to_run == 'L10N-MacOS' || inputs.mac_installer_link }}
3838
runs-on: macos-latest
3939
steps:
4040
- name: Create app token
@@ -118,7 +118,7 @@ jobs:
118118
name: artifacts-mac
119119
path: artifacts-mac
120120
L10N-Linux:
121-
if: ${{inputs.job_to_run == 'L10N-MacOS' || inputs.linux_tarball_link }}
121+
if: ${{ github.event_name == 'pull_request' || inputs.job_to_run == 'L10N-MacOS' || inputs.linux_tarball_link }}
122122
runs-on: ubuntu-latest
123123
steps:
124124
- name: Create app token

0 commit comments

Comments
 (0)