diff --git a/.github/workflows/check_locales.yml b/.github/workflows/check_locales.yml index d43e5bc45..95f6ece07 100644 --- a/.github/workflows/check_locales.yml +++ b/.github/workflows/check_locales.yml @@ -1,7 +1,7 @@ name: Check Localization Files on PR on: - pull_request_target: + pull_request: types: [opened, synchronize, reopened] paths: - "frontend/public/locales/*-*/translation.json" @@ -23,7 +23,7 @@ permissions: jobs: check-files: - if: github.event_name == 'pull_request_target' + if: github.event_name == 'pull_request' runs-on: ubuntu-latest permissions: issues: write # Allow posting comments on issues/PRs