Skip to content

Remove empty repo at the root of the release workflow #2542

@bicknellr

Description

@bicknellr

The release workflow creates a new git repo in the workspace root to work around a bug in the changesets action where git commands are run before changing directories for the cwd option. We should stop creating this repo once this bug is fixed.

# changesets/action@v1 currently has a bug where it attempts to set the
# local git user info before changing directories for `cwd`, which means
# it will fail if the root directory is not a git repo.
- name: Initialize empty root repo
run: git init

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions