mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #853] [MERGED] fix: set sh as default shell for containers #1645
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1645
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/853
Author: @catthehacker
Created: 10/31/2021
Status: ✅ Merged
Merged: 11/3/2021
Merged by: @cplee
Base:
master← Head:cat/fix/default-shell📝 Commits (2)
97683d8fix: set default shell for containers to sh19127f3tests: fixup for default shell📊 Changes
8 files changed (+76 additions, -3 deletions)
View changed files
📝
pkg/runner/runner_test.go(+1 -0)📝
pkg/runner/step_context.go(+6 -0)📝
pkg/runner/testdata/container-hostname/push.yml(+4 -0)📝
pkg/runner/testdata/shells/bash/push.yml(+15 -2)➕
pkg/runner/testdata/shells/defaults/push.yml(+21 -0)📝
pkg/runner/testdata/shells/pwsh/push.yml(+7 -0)📝
pkg/runner/testdata/shells/python/push.yml(+8 -0)📝
pkg/runner/testdata/shells/sh/push.yml(+14 -1)📄 Description
fix: set default shell for containers to
shThis matches GitHub Actions behaviour where, runners use
bashsince it's guaranteed to exist there while containers useshfor compatibilitytests: fixup for default shell
fixes #850
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.