From 627b546f2b852fcb149820a4b8f4f3a1c415de90 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Thu, 9 Apr 2026 11:25:14 +0200 Subject: [PATCH] Resolve `notify-translations.yml` --- .github/workflows/notify-translations.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/notify-translations.yml b/.github/workflows/notify-translations.yml index 1dc7e1ee62..07d4e0bdfb 100644 --- a/.github/workflows/notify-translations.yml +++ b/.github/workflows/notify-translations.yml @@ -1,10 +1,12 @@ name: Notify Translations on: - pull_request_target: + pull_request_target: # zizmor: ignore[dangerous-triggers] types: - labeled - closed + branches: + - master workflow_dispatch: inputs: number: @@ -15,6 +17,8 @@ on: required: false default: 'false' +permissions: {} + jobs: job: runs-on: ubuntu-latest @@ -26,6 +30,8 @@ jobs: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: @@ -33,6 +39,7 @@ jobs: - name: Setup uv uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 with: + version: "0.11.4" enable-cache: true cache-dependency-glob: | pyproject.toml