7474 id: repro
7575 continue-on-error: true
7676 run: |
77- specfact repro --verbose --budget ${{ steps.validation.outputs.budget }} || true
77+ specfact repro --verbose --budget {% raw %} ${{ steps.validation.outputs.budget }} {% endraw % } || true
7878 echo "exit_code=$?" >> $GITHUB_OUTPUT
7979
8080 - name: Find latest repro report
@@ -92,26 +92,26 @@ jobs:
9292
9393 - name: Create GitHub annotations
9494 id: annotations
95- if: always() && steps.report.outputs.path != ''
95+ if: always() && {% raw %} steps.report.outputs.path != ''{% endraw %}
9696 run: |
9797 python -m specfact_cli.utils.github_annotations || true
9898
9999 - name: Generate PR comment
100100 id: pr-comment
101- if: always() && github.event_name == 'pull_request' && steps.report.outputs.path != ''
101+ if: always() && {% raw %} github.event_name == 'pull_request' && steps.report.outputs.path != ''{% endraw %}
102102 run: |
103103 python -m specfact_cli.utils.github_annotations
104104 if [ -f ".specfact/pr-comment.md" ]; then
105105 echo "comment_path=.specfact/pr-comment.md" >> $GITHUB_OUTPUT
106106 fi
107107
108108 - name: Post PR comment
109- if: always() && github.event_name == 'pull_request' && steps.pr-comment.outputs.comment_path != ''
109+ if: always() && {% raw %} github.event_name == 'pull_request' && steps.pr-comment.outputs.comment_path != ''{% endraw %}
110110 uses: actions/github-script@v7
111111 with:
112112 script: |
113113 const fs = require('fs');
114- const commentPath = '${{ steps.pr-comment.outputs.comment_path }}';
114+ const commentPath = '{% raw %} ${{ steps.pr-comment.outputs.comment_path }} {% endraw % } ';
115115 if (fs.existsSync(commentPath)) {
116116 const comment = fs.readFileSync(commentPath, 'utf8');
117117 github.rest.issues.createComment({
@@ -133,7 +133,7 @@ jobs:
133133 if-no-files-found: ignore
134134
135135 - name: Fail workflow if validation failed
136- if: steps.repro.outputs.exit_code != '0' && steps.validation.outputs.mode == 'block'
136+ if: {% raw %} steps.repro.outputs.exit_code != '0' && steps.validation.outputs.mode == 'block'{% endraw %}
137137 run: |
138138 echo "❌ Validation failed. Exiting with error code."
139139 exit 1
0 commit comments