diff --git a/.github/workflows/check_pr_translations.yml b/.github/workflows/check_pr_translations.yml index cc0ef8b..f077f8a 100644 --- a/.github/workflows/check_pr_translations.yml +++ b/.github/workflows/check_pr_translations.yml @@ -9,15 +9,16 @@ on: paths: - 'src/main/resources/assets/**/lang/*.json' +permissions: + pull-requests: write + contents: read + jobs: check-localization: runs-on: ubuntu-latest - permissions: - pull-requests: write - contents: read steps: - name: Check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0