Browse Source

Resolve `notify-translations.yml`

pull/15316/head
Yurii Motov 3 months ago
parent
commit
627b546f2b
  1. 9
      .github/workflows/notify-translations.yml

9
.github/workflows/notify-translations.yml

@ -1,10 +1,12 @@
name: Notify Translations name: Notify Translations
on: on:
pull_request_target: pull_request_target: # zizmor: ignore[dangerous-triggers]
types: types:
- labeled - labeled
- closed - closed
branches:
- master
workflow_dispatch: workflow_dispatch:
inputs: inputs:
number: number:
@ -15,6 +17,8 @@ on:
required: false required: false
default: 'false' default: 'false'
permissions: {}
jobs: jobs:
job: job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -26,6 +30,8 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }} GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT" run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Python - name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with: with:
@ -33,6 +39,7 @@ jobs:
- name: Setup uv - name: Setup uv
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
with: with:
version: "0.11.4"
enable-cache: true enable-cache: true
cache-dependency-glob: | cache-dependency-glob: |
pyproject.toml pyproject.toml

Loading…
Cancel
Save