Skip to content

- Fix SSH action workflows: replace deprecated script_stop with set -e#583

Merged
mtracz merged 1 commit intomainfrom
copilot/fix-ssh-action-workflow-error
Mar 26, 2026
Merged

- Fix SSH action workflows: replace deprecated script_stop with set -e#583
mtracz merged 1 commit intomainfrom
copilot/fix-ssh-action-workflow-error

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 25, 2026

Since appleboy/ssh-action v1.2.2, the script_stop parameter is no longer supported and causes workflow failures. The equivalent behavior is achieved by adding set -e at the top of the script block.

Changes

  • Removed script_stop: true from all three affected workflows
  • Added set -e as the first line of each script block

Affected workflows: run-command-on-beta.yml, deploy-to-beta-manually.yml, deploy-to-prod.yml

# Before
script_stop: true
script: |
  cd /app && make deploy

# After
script: |
  set -e
  cd /app && make deploy

@mtracz mtracz marked this pull request as ready for review March 25, 2026 21:22
@mtracz mtracz requested a review from a team as a code owner March 25, 2026 21:22
@mtracz mtracz changed the title Fix SSH action workflows: replace deprecated script_stop with set -e -Fix SSH action workflows: replace deprecated script_stop with set -e Mar 25, 2026
@mtracz mtracz changed the title -Fix SSH action workflows: replace deprecated script_stop with set -e - Fix SSH action workflows: replace deprecated script_stop with set -e Mar 25, 2026
@mtracz mtracz merged commit b77a183 into main Mar 26, 2026
2 of 4 checks passed
@mtracz mtracz deleted the copilot/fix-ssh-action-workflow-error branch March 26, 2026 08:17
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.

3 participants