fix: fix YAML parsing issues in PR gate workflows

- Wrap if condition in ${{ }} to avoid YAML tag interpretation
- Use array.join for multiline message to avoid block scalar issues
This commit is contained in:
Mario Zechner 2026-01-18 12:31:25 +01:00
parent 3eded2c146
commit 8b02aff629
2 changed files with 13 additions and 11 deletions

View file

@ -6,7 +6,7 @@ on:
jobs:
approve:
if: !github.event.issue.pull_request
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest
permissions:
contents: write