Add Weblate glossary files #84
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PR Release Notes Tagger | |
| on: | |
| pull_request: | |
| types: [closed, labeled] | |
| jobs: | |
| tag-pr: | |
| runs-on: ubuntu-latest | |
| # Run if: PR was merged OR the 'bot: release notes' label was added | |
| if: | | |
| (github.event.pull_request.merged == true) || | |
| (github.event.action == 'labeled' && github.event.label.name == 'release notes: evaluate') | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version-file: ".github/llm-bot/.python-version" | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| working-directory: .github/llm-bot | |
| run: uv sync --locked --all-extras --dev | |
| - name: Process PR with LLM | |
| working-directory: .github/llm-bot | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| LLM_API_KEY: ${{ secrets.BOT_LLM_API_KEY }} | |
| LLM_MODEL: ${{ secrets.BOT_LLM_MODEL }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPOSITORY: ${{ github.repository }} | |
| run: uv run pr_release_notes.py |