Skip to content

Remove invalid ruby-version-file input from GitHub Actions workflows#1347

Merged
azu merged 2 commits into
developfrom
copilot/fix-ci-warning-inputs
Jan 15, 2026
Merged

Remove invalid ruby-version-file input from GitHub Actions workflows#1347
azu merged 2 commits into
developfrom
copilot/fix-ci-warning-inputs

Conversation

Copilot AI commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

The ruby/setup-ruby@v1.283.0 action was being called with ruby-version-file input, which doesn't exist in this version. The valid input is ruby-version, which automatically reads from .ruby-version when unset.

Changes

  • Removed ruby-version-file: '.ruby-version' from deploy.yml and jekyll-build.yml workflows
  • Action now auto-detects .ruby-version file at repository root (default behavior)

This eliminates the CI warning while preserving identical Ruby version resolution behavior.

Original prompt

This section details on the original issue you should resolve

<issue_title>CI: Warning: Unexpected input(s)</issue_title>
<issue_description> Warning: Unexpected input(s) 'ruby-version-file', valid inputs are ['ruby-version', 'rubygems', 'bundler', 'bundler-cache', 'working-directory', 'cache-version', 'self-hosted', 'windows-toolchain', 'token']

https://github.com/jser/jser.github.io/actions/runs/21033296833/job/60474459588?pr=1343</issue_description>

<agent_instructions>fix ci</agent_instructions>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: azu <19714+azu@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI warning for unexpected inputs Remove invalid ruby-version-file input from GitHub Actions workflows Jan 15, 2026
Copilot AI requested a review from azu January 15, 2026 13:46
@azu azu marked this pull request as ready for review January 15, 2026 15:20
@azu azu merged commit 7d9a30c into develop Jan 15, 2026
4 checks passed
@azu azu deleted the copilot/fix-ci-warning-inputs branch January 15, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Warning: Unexpected input(s)

2 participants