Skip to content

fix: pin cli_version in initialize and update actions - #14

Closed
nicomiguelino wants to merge 2 commits into
mainfrom
feat/expose-cli-version-input
Closed

fix: pin cli_version in initialize and update actions#14
nicomiguelino wants to merge 2 commits into
mainfrom
feat/expose-cli-version-input

Conversation

@nicomiguelino

@nicomiguelino nicomiguelino commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The Deploy Edge App step in update/action.yml, and the Create Edge App, Deploy Edge App, Create Instance, and Update Instance steps in initialize/action.yml, all called screenly/cli@master without a cli_version override, so they silently inherited whatever default Screenly/cli's action.yml set, which was v1.1.1, a release that predates Add --entrypoint flag for remote Edge Apps + bundle screenly_inject.js cli#284.
  • That PR removed the hard error guard that failed deploys with "No changes detected" when there was nothing to upload. The fix is included starting in v1.2.0.
  • Screenly/cli's action.yml default is being bumped separately (fix: bump default cli_version in action.yml to v1.2.1 cli#305), but this pins cli_version to v1.2.1 as a constant in both actions here as well, so neither is silently exposed to whatever default Screenly/cli ships next.
  • Documented the pinned version in the README.

The Deploy Edge App step called screenly/cli@master without a
cli_version override, so it silently inherited whatever default
Screenly/cli's action.yml set, which was v1.1.1, a release that
predates Screenly/cli#284. That PR removed
the hard error guard that failed deploys with "No changes detected"
when there was nothing to upload. The fix is included starting in
v1.2.0.

Screenly/cli's action.yml default has been bumped separately, but
this adds an explicit cli_version input here too, defaulting to
v1.2.1, so this action is not silently exposed to whatever default
Screenly/cli ships next.
Copilot AI lite review requested due to automatic review settings August 14, 2026 18:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the update composite action to make the Screenly CLI version explicitly configurable (and defaulted to a known-good version) rather than implicitly relying on whatever default screenly/cli provides.

Changes:

  • Add a new cli_version input to the update action (defaulting to v1.2.1).
  • Pass the new input through to the screenly/cli@master step via with.cli_version.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread update/action.yml Outdated
Comment thread update/action.yml Outdated
Rework the cli_version override to be a constant set via GITHUB_ENV
in each action's build-system detection step, rather than exposing
it as a public input. Also apply the same pin to initialize/action.yml,
which has its own set of screenly/cli@master steps.
Copilot AI review requested due to automatic review settings August 14, 2026 18:23
@nicomiguelino nicomiguelino changed the title feat: expose cli_version input in update action fix: pin cli_version in initialize and update actions Aug 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@nicomiguelino

Copy link
Copy Markdown
Contributor Author

Now that Screenly/cli#305 is merged, these changes are not required anymore.

@nicomiguelino
nicomiguelino deleted the feat/expose-cli-version-input branch August 14, 2026 21:38
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.

2 participants