Repository navigation
Replace ${{ '' }} with "" in activation job outputs to eliminate zizmor obfuscation warnings - #4398
Merged
Merged
Conversation
This change eliminates 72 zizmor obfuscation warnings by using plain
quoted empty strings instead of expression syntax for default output values.
- Updated compiler_jobs.go to use `""` instead of `${{ '' }}`
- Updated comment to reflect the change
- All unit tests pass
- All 85 workflows compile successfully
- YAML parsing confirmed: empty strings remain empty strings (not null)
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
pelikhan
approved these changes
Nov 20, 2025
Copilot
AI
changed the title
[WIP] Fix zizmor obfuscation warning in activation job outputs
Replace Nov 20, 2025
${{ '' }} with "" in activation job outputs to eliminate zizmor obfuscation warnings
pelikhan
marked this pull request as ready for review
November 20, 2025 16:00
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR eliminates 72 false-positive zizmor obfuscation warnings by replacing unusual ${{ '' }} expression syntax with plain empty string literals "" in activation job outputs. The change is purely cosmetic from a functional perspective but significantly improves security scanning signal-to-noise ratio.
- Modified compiler to emit
""instead of${{ '' }}for default empty output values - Recompiled all 68 workflows with the updated pattern
- No functional changes to workflow behavior
Reviewed Changes
Copilot reviewed 68 out of 68 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/workflow/compiler_jobs.go | Updated default output value generation from ${{ '' }} expression to "" literal, with updated comment explaining the rationale |
| .github/workflows/*.lock.yml (68 files) | Recompiled workflow files with updated activation job output syntax, changing comment_id: ${{ '' }} and comment_repo: ${{ '' }} to comment_id: "" and comment_repo: "" |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Zizmor flagged 72 instances of
${{ '' }}in activation job outputs as potential obfuscation. While functionally correct, this unusual syntax for empty values triggers false positives.Change
Modified
pkg/workflow/compiler_jobs.goto use plain quoted empty strings:Technical Note
Using
`""`(backtick-quoted) renders ascomment_id: ""in YAML, which parses as an empty string. Plain""would render ascomment_id:(trailing space), which YAML treats as null.Impact
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.