Skip to content

Conversation

@jakebailey
Copy link
Member

GitHub Actions has a surprising default; scripts do not get pipefile and don't fail-fast when one command fails.

The documented workaround is to set the default to bash, which enables this behavior. See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 4, 2023
@jakebailey jakebailey merged commit 22bf9c4 into microsoft:main May 20, 2023
@jakebailey jakebailey deleted the fail-fast-ci branch May 20, 2023 01:22
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants