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:
2
.github/workflows/approve-contributor.yml
vendored
2
.github/workflows/approve-contributor.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user