Skip to content

ci: quote the variables of the release workflow's scripts, as ShellCheck asks - #2292

Merged
lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:ci/quote-release-workflow
Nov 26, 2026
Merged

lagergren merged 1 commit into
redhat-developer:mainfrom
lagergren:ci/quote-release-workflow

Conversation

@lagergren

@lagergren lagergren commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Quotes $GITHUB_ENV and $PLUGIN_VERSION in release.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.

Line Before After
Set Release Version >> $GITHUB_ENV >> "$GITHUB_ENV"
Tag Release git tag $PLUGIN_VERSION, git push origin $PLUGIN_VERSION quoted
Create Github Release gh release create ${PLUGIN_VERSION} quoted
Upload Release Asset gh release upload ${PLUGIN_VERSION} … quoted

After it, actionlint reports nothing in any workflow.

Part of #2269

…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
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

This 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.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2eaeb7e0-30a5-4b51-8b55-14079c72fe65
Commits

Reviewing files that changed from the base of the PR and between 6c6a167 and 7d888b6.

Files selected for processing: 1

  • .github/workflows/release.yml

@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.46%. Comparing base (6c6a167) to head (7d888b6).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lagergren lagergren modified the milestones: 0.30.3, 0.30.2 Nov 26, 2026
@lagergren
lagergren marked this pull request as ready for review November 26, 2026 15:25
@lagergren
lagergren merged commit b4fd2c8 into redhat-developer:main Nov 26, 2026
11 checks passed
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant