Skip to content

Commit fb8ea83

Browse files
committed
update workflows to use uvx changeset
1 parent 06f856d commit fb8ea83

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

.github/workflows/changesets.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ jobs:
3838
echo "has_changesets=false" >> $GITHUB_OUTPUT
3939
fi
4040
41-
- name: Install changeset package
42-
if: steps.check_changesets.outputs.has_changesets == 'true'
43-
run: |
44-
uv pip install --system -e .
45-
4641
- name: Get PR metadata
4742
if: steps.check_changesets.outputs.has_changesets == 'true'
4843
id: pr_metadata
@@ -67,7 +62,7 @@ jobs:
6762
if: steps.check_changesets.outputs.has_changesets == 'true'
6863
run: |
6964
# Generate changelogs and PR description
70-
changeset changelog --output-pr-description pr-description.md
65+
uvx changeset changelog --output-pr-description pr-description.md
7166
7267
# Save PR description for later use
7368
echo "PR_DESCRIPTION<<EOF" >> $GITHUB_ENV
@@ -78,7 +73,7 @@ jobs:
7873
- name: Bump versions
7974
if: steps.check_changesets.outputs.has_changesets == 'true'
8075
run: |
81-
changeset version --skip-changelog
76+
uvx changeset version --skip-changelog
8277
8378
- name: Commit changes
8479
if: steps.check_changesets.outputs.has_changesets == 'true'

.github/workflows/check-changeset.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,4 @@ jobs:
2323

2424
- name: Check for changeset
2525
run: |
26-
# For published package (once on PyPI)
27-
# uvx changeset check-changeset
28-
29-
# For development (from repo)
30-
uvx --from . changeset check-changeset
26+
uvx changeset check-changeset

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)