Repository navigation
ci: quote the variables of the release workflow's scripts, as ShellCheck asks - #2292
Merged
lagergren merged 1 commit intoNov 26, 2026
Merged
Conversation
…eck asks actionlint reported 5 ShellCheck notes in release.yml, unquoted $GITHUB_ENV and $PLUGIN_VERSION. The values have no spaces, so nothing changes. Kept out of redhat-developer#2291, so that the 0.30.2 release didn't run an edit of this workflow for the first time: its job runs only on a real release. Part of redhat-developer#2269
|
Warning Review limit reachedThis review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Next included review available in 5 minutes. View limit details
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2292 +/- ##
=========================================
Coverage 58.46% 58.46%
=========================================
Files 846 846
Lines 36466 36466
Branches 5726 7550 +1824
=========================================
Hits 21320 21320
Misses 12151 12151
Partials 2995 2995 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
lagergren
marked this pull request as ready for review
November 26, 2026 15:25
lagergren
added a commit
to lagergren/lsp4ij
that referenced
this pull request
Nov 26, 2026
…se $(...), as ShellCheck asks actionlint reported ShellCheck notes in IJ.yml, buildZip.yml and nightly.yml, all already on main: unquoted $GITHUB_STEP_SUMMARY, $GITHUB_OUTPUT and $PLUGIN_VERSION, and `ls *.zip` in backticks. The values have no spaces, so nothing changes. The zip's name is still read without a leading ./, as ls -- *.zip gives it. redhat-developer#2292 did the same for release.yml. Part of redhat-developer#2269
lagergren
added a commit
that referenced
this pull request
Nov 26, 2026
…se $(...), as ShellCheck asks actionlint reported ShellCheck notes in IJ.yml, buildZip.yml and nightly.yml, all already on main: unquoted $GITHUB_STEP_SUMMARY, $GITHUB_OUTPUT and $PLUGIN_VERSION, and `ls *.zip` in backticks. The values have no spaces, so nothing changes. The zip's name is still read without a leading ./, as ls -- *.zip gives it. #2292 did the same for release.yml. Part of #2269
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.
Quotes
$GITHUB_ENVand$PLUGIN_VERSIONinrelease.yml's scripts, the 5 ShellCheck notes that actionlint still reports on main once #2291 is merged. The values have no spaces, so nothing changes.release.yml's job runs only on a real release (publishToMarketPlace == 'true'), so no CI run can execute these lines: the 0.30.2 release will be their first run. They only quote values that contain no spaces.>> $GITHUB_ENV>> "$GITHUB_ENV"git tag $PLUGIN_VERSION,git push origin $PLUGIN_VERSIONgh release create ${PLUGIN_VERSION}gh release upload ${PLUGIN_VERSION} …After it, actionlint reports nothing in any workflow.
Part of #2269