fix(ollama): soft-fail on empty response in generate_from_raw #1735
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
| # Labels PRs based on conventional commit prefix in the title. | |
| # | |
| # Thin wrapper around the org-wide reusable workflow at | |
| # generative-computing/.github. The trigger lives here but all logic is | |
| # centralized upstream. | |
| # | |
| # This caller uses pull_request_target, which grants write access to the repo | |
| # even for PRs from forks. This is safe ONLY because the reusable workflow | |
| # never checks out or executes code from the PR branch. Do NOT add: | |
| # - actions/checkout (of the PR head ref) | |
| # - run: steps that reference PR-controlled files | |
| # - any step that executes code from the pull request | |
| # Doing so would let a malicious fork run arbitrary code with write permissions. | |
| name: "Label PR by conventional commit prefix" | |
| on: | |
| pull_request_target: # zizmor: ignore[dangerous-triggers] | |
| types: [opened, edited, synchronize] | |
| merge_group: | |
| permissions: | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| label: | |
| uses: generative-computing/.github/.github/workflows/pr-label.yml@31ecef85b868eb2a9d7ea3a0efd5c12cb4746fc1 # main |